public class JobSubmissionResult extends AbstractJobResult
JobSubmissionResult is used to report the results
of a job submission. It contains a return code and a description.
In case of a submission error the description includes an error message.AbstractJobResult.ReturnCode| Constructor and Description |
|---|
JobSubmissionResult()
Constructs an empty
JobSubmissionResult object. |
JobSubmissionResult(AbstractJobResult.ReturnCode returnCode,
String description)
Constructs a new
JobSubmissionResult object with
the given return code. |
public JobSubmissionResult(AbstractJobResult.ReturnCode returnCode, String description)
JobSubmissionResult object with
the given return code.returnCode - the return code of the submission result.description - the error descriptionpublic JobSubmissionResult()
JobSubmissionResult object.
This constructor is used for object deserialization only and
should not be called directly.Copyright © 2015 The Apache Software Foundation. All rights reserved.