| Enum Constant and Description |
|---|
ABORTED
ABORTED indicates the job was aborted and no longer active.
|
ABORTING
ABORTING indicates the job is in the process of aborting.
|
CANCELLED
CANCELLED indicates the job was aborted before it started running.
|
COMPLETED
COMPLETED indicates the job finished.
|
CREATED
CREATED indicates the job has been created but is not yet submitted.
|
FAILED
FAILED indicates the job failed during execution.
|
FAILED_SUBMISSION
FAILED_SUBMISSION indicates the job failed to be submitted.
|
QUEUED
QUEUED indicates the job has been submitted but is not yet running.
|
RUNNING
RUNNING indicates the job is active.
|
SKIPPED_AS_DUPE
SKIPPED_AS_DUPE indicates the job failed to be submitted because it was already queued.
|
STARTING
STARTING indicates the job is out of the queue and starting.
|
TIMED_OUT
TIMED_OUT indicates the job was aborted because it timed out.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchesAny(JobStatus... statuses)
Returns whether or not this JobStatus matches any of the JobStatus array arguments.
|
static JobStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus CREATED
public static final JobStatus QUEUED
public static final JobStatus SKIPPED_AS_DUPE
public static final JobStatus FAILED_SUBMISSION
public static final JobStatus CANCELLED
public static final JobStatus STARTING
public static final JobStatus RUNNING
public static final JobStatus ABORTING
public static final JobStatus ABORTED
public static final JobStatus TIMED_OUT
public static final JobStatus FAILED
public static final JobStatus COMPLETED
ResultCode of the JobResult.JobResult.ResultCodepublic static JobStatus[] values()
public static JobStatus valueOf(java.lang.String name)
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullname - the name of the enum constant to be returned.public boolean matchesAny(JobStatus... statuses)
statuses - the statuses to consider© Copyright IBM 2017