public static enum TransactionManager.TransactionState extends Enum<TransactionManager.TransactionState>
Enum Constant and Description |
---|
ABORTED |
COMMIT_FAILED |
COMMITTED |
ROLLED_BACK |
STARTED |
Modifier and Type | Method and Description |
---|---|
static TransactionManager.TransactionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionManager.TransactionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionManager.TransactionState STARTED
public static final TransactionManager.TransactionState COMMITTED
public static final TransactionManager.TransactionState COMMIT_FAILED
public static final TransactionManager.TransactionState ABORTED
public static final TransactionManager.TransactionState ROLLED_BACK
public static TransactionManager.TransactionState[] values()
for (TransactionManager.TransactionState c : TransactionManager.TransactionState.values()) System.out.println(c);
public static TransactionManager.TransactionState 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 © 2019 Google LLC. All rights reserved.