public class JobStatus extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JobStatus.Kind
Represent a kind of status.
|
| Constructor and Description |
|---|
JobStatus() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Returns the error code for target job.
|
String |
getErrorMessage()
Returns the error message for target job.
|
Integer |
getExitCode()
Returns the exit code of target job.
|
String |
getJobId()
Returns the target job ID on current operation.
|
JobStatus.Kind |
getKind()
Returns the kind of this status.
|
void |
setErrorCode(String errorCode)
Sets the error code for target job.
|
void |
setErrorMessage(String message)
Sets the error message for target job.
|
void |
setExitCode(Integer exitCode)
Sets the exit code of target job.
|
void |
setJobId(String jobId)
Sets the target job ID on current operation.
|
void |
setKind(JobStatus.Kind kind)
Sets the kind of this status.
|
public JobStatus.Kind getKind()
public void setKind(JobStatus.Kind kind)
kind - the status kindpublic String getJobId()
JobStatus.Kind.ERRORpublic void setJobId(String jobId)
jobId - the job IDpublic Integer getExitCode()
JobStatus.Kind.COMPLETEDIllegalArgumentException - if some parameters were nullpublic void setExitCode(Integer exitCode)
exitCode - the codepublic String getErrorCode()
public void setErrorCode(String errorCode)
errorCode - the codepublic String getErrorMessage()
public void setErrorMessage(String message)
message - the messageCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.