|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.jobmanager.common.JobStatus
public class JobStatus
Contains the status for a job in progress.
Field Summary | |
---|---|
static short |
JOB_STATUS_COMPLETE_REQUESTED
Specifies that a job complete request was made. |
static short |
JOB_STATUS_COMPLETED
Specifies the job is completed. |
static short |
JOB_STATUS_FAILED
Specifies the job has failed. |
static short |
JOB_STATUS_FAILURE_REQUESTED
|
static short |
JOB_STATUS_QUEUED
Specifies the job is queued. |
static short |
JOB_STATUS_RESUME_REQUESTED
Specifies that a job resume request was made. |
static short |
JOB_STATUS_RUNNING
Specifies the job is running. |
static short |
JOB_STATUS_SUSPEND_REQUESTED
Specifies the job status is completed. |
static short |
JOB_STATUS_SUSPENDED
Specifies the job status is suspended. |
static short |
JOB_STATUS_TERMINATE_REQUESTED
Specifies that a job terminate request was made. |
static short |
JOB_STATUS_TERMINATED
Specifies the job has terminated. |
static short |
JOB_STATUS_UNKNOWN
Specifies the job status is unknown. |
Constructor Summary | |
---|---|
JobStatus()
A standard constructor. |
|
JobStatus(short statusCode)
A constructor that creates a JobStatus object based on a status code. |
Method Summary | |
---|---|
short |
getStatusCode()
Returns the status code associated with this object. |
static java.lang.String |
getStatusString(short status)
|
void |
setStatusCode(short statusCode)
For internal use only. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short JOB_STATUS_UNKNOWN
public static final short JOB_STATUS_QUEUED
public static final short JOB_STATUS_RUNNING
public static final short JOB_STATUS_COMPLETED
public static final short JOB_STATUS_FAILED
public static final short JOB_STATUS_TERMINATED
public static final short JOB_STATUS_SUSPENDED
public static final short JOB_STATUS_COMPLETE_REQUESTED
public static final short JOB_STATUS_TERMINATE_REQUESTED
public static final short JOB_STATUS_SUSPEND_REQUESTED
public static final short JOB_STATUS_RESUME_REQUESTED
public static final short JOB_STATUS_FAILURE_REQUESTED
Constructor Detail |
---|
public JobStatus()
public JobStatus(short statusCode)
JobStatus
object based on a status code.
statusCode
- A status code value.Method Detail |
---|
public short getStatusCode()
public void setStatusCode(short statusCode)
public static java.lang.String getStatusString(short status)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |