public static enum Job.JobState extends Enum<Job.JobState>
Enum Constant and Description |
---|
BLOCKED |
COMPLETE |
ERROR |
NORMAL |
PAUSED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Job.JobState |
valueOf(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 NORMAL
public static final Job.JobState PAUSED
public static final Job.JobState COMPLETE
public static final Job.JobState ERROR
public static final Job.JobState BLOCKED
public static final Job.JobState UNKNOWN
public static Job.JobState[] values()
for (Job.JobState c : Job.JobState.values()) System.out.println(c);
public static Job.JobState 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