public enum RollbackResult extends Enum<RollbackResult>
| Enum Constant and Description |
|---|
OK
Signifies a successful rollback execution.
|
UNKNOWN_TRANSACTION_ID
Signifies a failure due to unrecognized transaction identifier.
|
| Modifier and Type | Method and Description |
|---|---|
static RollbackResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RollbackResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RollbackResult OK
public static final RollbackResult UNKNOWN_TRANSACTION_ID
public static RollbackResult[] values()
for (RollbackResult c : RollbackResult.values()) System.out.println(c);
public static RollbackResult 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 © 2016. All rights reserved.