public static enum Transaction.TransactionState extends Enum<Transaction.TransactionState>
| Enum Constant and Description | 
|---|
Closed  | 
Committed  | 
RolledBack  | 
Started  | 
| Modifier and Type | Method and Description | 
|---|---|
static Transaction.TransactionState | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Transaction.TransactionState[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Transaction.TransactionState Started
public static final Transaction.TransactionState Committed
public static final Transaction.TransactionState RolledBack
public static final Transaction.TransactionState Closed
public static Transaction.TransactionState[] values()
for (Transaction.TransactionState c : Transaction.TransactionState.values()) System.out.println(c);
public static Transaction.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 © 2009-2022 Apache Software Foundation. All Rights Reserved.