public static enum ComputationService.State extends java.lang.Enum<ComputationService.State>
Enum Constant and Description |
---|
CANCELLED |
CONFIGURED |
EXECUTING |
FAILED |
FINISHED |
PAUSED |
STOPPED |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static ComputationService.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComputationService.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputationService.State STOPPED
public static final ComputationService.State CONFIGURED
public static final ComputationService.State EXECUTING
public static final ComputationService.State PAUSED
public static final ComputationService.State FINISHED
public static final ComputationService.State CANCELLED
public static final ComputationService.State FAILED
public static final ComputationService.State TERMINATED
public static ComputationService.State[] values()
for (ComputationService.State c : ComputationService.State.values()) System.out.println(c);
public static ComputationService.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