public static enum TaskState.State extends Enum<TaskState.State>
Enum Constant and Description |
---|
COMPLETE |
EXECUTING |
FAILED_RECOVERABLE |
FAILED_UNRECOVERABLE |
ON_HOLD |
PENDING_IN_EXECUTOR |
READY |
Modifier and Type | Method and Description |
---|---|
static TaskState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskState.State READY
public static final TaskState.State PENDING_IN_EXECUTOR
public static final TaskState.State EXECUTING
public static final TaskState.State COMPLETE
public static final TaskState.State FAILED_RECOVERABLE
public static final TaskState.State FAILED_UNRECOVERABLE
public static final TaskState.State ON_HOLD
public static TaskState.State[] values()
for (TaskState.State c : TaskState.State.values()) System.out.println(c);
public static TaskState.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 © 2018. All rights reserved.