public static enum TaskStatus.State extends java.lang.Enum<TaskStatus.State>
Enum Constant and Description |
---|
CANCELLED
The task has been cancelled, and the process of rolling back any changes made has completed
|
CANCELLING
The task has been cancelled, and is in the process of rolling back any changes made
|
COMPLETE
The task has completed, either successfully or unsuccessfully.
|
IN_PROGRESS
The task has started and is in progress.
|
NOT_STARTED
The task is scheduled but has not started yet.
|
Modifier and Type | Method and Description |
---|---|
static TaskStatus.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus.State NOT_STARTED
public static final TaskStatus.State IN_PROGRESS
public static final TaskStatus.State COMPLETE
public static final TaskStatus.State CANCELLING
public static final TaskStatus.State CANCELLED
public static TaskStatus.State[] values()
for (TaskStatus.State c : TaskStatus.State.values()) System.out.println(c);
public static TaskStatus.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 null