Enum Constant and Description |
---|
CANCELED |
FAILED |
FINISHED |
FINISHED_WITH_ERRORS |
RUNNING_COLLECTOR |
RUNNING_HARMONIZE |
STARTED |
STOP_ON_ERROR |
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 RUNNING_COLLECTOR
public static final JobStatus RUNNING_HARMONIZE
public static final JobStatus FINISHED
public static final JobStatus FINISHED_WITH_ERRORS
public static final JobStatus FAILED
public static final JobStatus STOP_ON_ERROR
public static final JobStatus CANCELED
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>