public static enum Types.TaskStatusType extends java.lang.Enum<Types.TaskStatusType>
Enum Constant and Description |
---|
CANCELLED
task has been cancelled
|
CANCELLING
task is being cancelled
|
FAILURE
task has failed
|
PENDING
task is in progress
|
SUCCESS
task was completed successfully
|
UNRECOGNIZED
The value does not belong to this enumeration
|
Modifier and Type | Method and Description |
---|---|
static Types.TaskStatusType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Types.TaskStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.TaskStatusType UNRECOGNIZED
public static final Types.TaskStatusType PENDING
public static final Types.TaskStatusType SUCCESS
public static final Types.TaskStatusType FAILURE
public static final Types.TaskStatusType CANCELLING
public static final Types.TaskStatusType CANCELLED
public static Types.TaskStatusType[] values()
for (Types.TaskStatusType c : Types.TaskStatusType.values()) System.out.println(c);
public static Types.TaskStatusType 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