public enum OperationResult extends java.lang.Enum<OperationResult>
Enum Constant and Description |
---|
FAILURE
failure
|
SUCCESS
success
|
TIMEOUT
timeout
|
UNEXPECTED_VALUE
For OperationResult values that were not expected from the service
|
UNKNOWN_FUTURE_VALUE
unknown Future Value
|
Modifier and Type | Method and Description |
---|---|
static OperationResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationResult SUCCESS
public static final OperationResult FAILURE
public static final OperationResult TIMEOUT
public static final OperationResult UNKNOWN_FUTURE_VALUE
public static final OperationResult UNEXPECTED_VALUE
public static OperationResult[] values()
for (OperationResult c : OperationResult.values()) System.out.println(c);
public static OperationResult 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