public enum LongRunningState extends Enum<LongRunningState>
| Enum Constant and Description |
|---|
FAILURE |
REQUESTED |
RUNNING |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static LongRunningState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongRunningState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LongRunningState REQUESTED
public static final LongRunningState RUNNING
public static final LongRunningState FAILURE
public static final LongRunningState SUCCESS
public static LongRunningState[] values()
for (LongRunningState c : LongRunningState.values()) System.out.println(c);
public static LongRunningState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is null