java.io.Serializable, java.lang.Comparable<AllocatedPersistentTask.State>public static enum AllocatedPersistentTask.State extends java.lang.Enum<AllocatedPersistentTask.State>
| Enum Constant | Description |
|---|---|
COMPLETED |
|
PENDING_CANCEL |
|
STARTED |
| Modifier and Type | Method | Description |
|---|---|---|
static AllocatedPersistentTask.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AllocatedPersistentTask.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocatedPersistentTask.State STARTED
public static final AllocatedPersistentTask.State PENDING_CANCEL
public static final AllocatedPersistentTask.State COMPLETED
public static AllocatedPersistentTask.State[] values()
for (AllocatedPersistentTask.State c : AllocatedPersistentTask.State.values()) System.out.println(c);
public static AllocatedPersistentTask.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