public enum OperationResult extends java.lang.Enum<OperationResult>
Modifier and Type | Method | 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 FAILED
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