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