public static enum Result.Status extends Enum<Result.Status>
| Enum Constant and Description |
|---|
LOCKED
Indicates a failure due to underlying state being locked by another transaction.
|
OK
Indicates a successful update.
|
| Modifier and Type | Method and Description |
|---|---|
static Result.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Result.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Result.Status OK
public static final Result.Status LOCKED
public static Result.Status[] values()
for (Result.Status c : Result.Status.values()) System.out.println(c);
public static Result.Status 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 © 2015. All rights reserved.