public static enum ExecutionTask.State extends java.lang.Enum<ExecutionTask.State>
Enum Constant and Description |
---|
ABORTED |
ABORTING |
COMPLETED |
DEAD |
IN_PROGRESS |
PENDING |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ExecutionTask.State> |
cachedValues() |
static ExecutionTask.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionTask.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionTask.State PENDING
public static final ExecutionTask.State IN_PROGRESS
public static final ExecutionTask.State ABORTING
public static final ExecutionTask.State ABORTED
public static final ExecutionTask.State DEAD
public static final ExecutionTask.State COMPLETED
public static ExecutionTask.State[] values()
for (ExecutionTask.State c : ExecutionTask.State.values()) System.out.println(c);
public static ExecutionTask.State 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 nullpublic static java.util.List<ExecutionTask.State> cachedValues()