Enum Constant and Description |
---|
CANCELED |
FAILED |
FINISHED |
FINISHED_WITH_ERRORS |
RUNNING |
STARTED |
STOP_ON_ERROR |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CANCELED_PREFIX |
static java.lang.String |
COMPLETED_PREFIX |
static java.lang.String |
COMPLETED_WITH_ERRORS_PREFIX |
static java.lang.String |
FAILED_PREFIX |
static java.lang.String |
RUNNING_PREFIX |
static java.lang.String |
STOP_ON_ERROR_PREFIX |
Modifier and Type | Method and Description |
---|---|
static JobStatus |
getJobStatus(java.lang.String status) |
java.lang.String |
toString() |
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 STARTED
public static final JobStatus FINISHED
public static final JobStatus FINISHED_WITH_ERRORS
public static final JobStatus RUNNING
public static final JobStatus FAILED
public static final JobStatus STOP_ON_ERROR
public static final JobStatus CANCELED
public static final java.lang.String RUNNING_PREFIX
public static final java.lang.String COMPLETED_PREFIX
public static final java.lang.String COMPLETED_WITH_ERRORS_PREFIX
public static final java.lang.String STOP_ON_ERROR_PREFIX
public static final java.lang.String FAILED_PREFIX
public static final java.lang.String CANCELED_PREFIX
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static JobStatus getJobStatus(java.lang.String status)
public java.lang.String toString()
toString
in class java.lang.Enum<JobStatus>