public static enum JobInfo.State extends Enum<JobInfo.State>
Enum Constant and Description |
---|
ANY |
FAILED |
FINISHED |
IDLE |
KILLED |
KILLING |
RUNNING |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static JobInfo.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobInfo.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobInfo.State IDLE
public static final JobInfo.State RUNNING
public static final JobInfo.State FINISHED
public static final JobInfo.State FAILED
public static final JobInfo.State KILLED
public static final JobInfo.State STOPPING
public static final JobInfo.State KILLING
public static final JobInfo.State ANY
public static JobInfo.State[] values()
for (JobInfo.State c : JobInfo.State.values()) System.out.println(c);
public static JobInfo.State 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 nullCopyright © 2015 The Apache Software Foundation