public enum JobStatusData extends Enum<JobStatusData>
Enum Constant and Description |
---|
CANCELED
The job has been canceled due to user exception and order.
|
FAILED
The job has failed.
|
FINISHED
The job is finished.
|
IN_ERROR |
KILLED
The job has been killed by a user..
|
PAUSED
The job is paused waiting for user to resume it.
|
PENDING
The job is waiting to be scheduled.
|
RUNNING
The job is running.
|
STALLED
The job has been launched but no task are currently running.
|
Modifier and Type | Method and Description |
---|---|
static JobStatusData |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatusData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatusData PENDING
public static final JobStatusData RUNNING
public static final JobStatusData STALLED
public static final JobStatusData FINISHED
public static final JobStatusData PAUSED
public static final JobStatusData CANCELED
public static final JobStatusData FAILED
public static final JobStatusData KILLED
public static final JobStatusData IN_ERROR
JobStatus.IN_ERROR
public static JobStatusData[] values()
for (JobStatusData c : JobStatusData.values()) System.out.println(c);
public static JobStatusData valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null