public static enum Task.STATE extends java.lang.Enum<Task.STATE>
| Enum Constant and Description |
|---|
FINISH_SINK |
FINISH_TRAINING |
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 RUNNING
public static final Task.STATE FINISH_SINK
public static final Task.STATE FINISH_TRAINING
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