public static enum OperationStatus.State extends Enum<OperationStatus.State>
Operation
.OperationStatus.getState()
Enum Constant and Description |
---|
NONE
The operation execution hasn't started.
|
RUNNING
The operation is under execution.
|
TERMINATED
The operation execution is terminated (either cancelled, completed successfully or terminated with an error).
|
Modifier and Type | Method and Description |
---|---|
static OperationStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationStatus.State NONE
public static final OperationStatus.State RUNNING
public static final OperationStatus.State TERMINATED
IStatus.getSeverity()
public static OperationStatus.State[] values()
for (OperationStatus.State c : OperationStatus.State.values()) System.out.println(c);
public static OperationStatus.State 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