public static enum Result.CompletionState extends Enum<Result.CompletionState>
| Enum Constant and Description |
|---|
CANCELLED
Non executed: Interrupted, cancelled, aborted, etc.
|
FAILURE
Failure
|
SUCCESS
Success
|
| Modifier and Type | Method and Description |
|---|---|
static Result.CompletionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result.CompletionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.CompletionState SUCCESS
public static final Result.CompletionState FAILURE
public static final Result.CompletionState CANCELLED
public static Result.CompletionState[] values()
for (Result.CompletionState c : Result.CompletionState.values()) System.out.println(c);
public static Result.CompletionState 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 nullCopyright © 2014. All Rights Reserved.