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