public static enum Job.JobState extends java.lang.Enum<Job.JobState>
Enum Constant and Description |
---|
CREATED |
FINISHED |
KILLED |
QUEUED |
STARTED |
STARTING |
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 QUEUED
public static final Job.JobState STARTING
public static final Job.JobState STARTED
public static final Job.JobState FINISHED
public static final Job.JobState KILLED
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