public static enum Job.JobState extends java.lang.Enum<Job.JobState>
| Enum Constant and Description |
|---|
CANCELLED |
CRASHED |
CREATED |
DONE |
RUNNING |
| Modifier and Type | Method and Description |
|---|---|
static Job.JobState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Job.JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.JobState CREATED
public static final Job.JobState RUNNING
public static final Job.JobState CANCELLED
public static final Job.JobState CRASHED
public static final Job.JobState DONE
public static Job.JobState[] values()
for (Job.JobState c : Job.JobState.values()) System.out.println(c);
public static Job.JobState 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 null