public static enum TransactionBatch.TxnState extends Enum<TransactionBatch.TxnState>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TransactionBatch.TxnState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionBatch.TxnState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionBatch.TxnState INACTIVE
public static final TransactionBatch.TxnState OPEN
public static final TransactionBatch.TxnState COMMITTED
public static final TransactionBatch.TxnState ABORTED
public static TransactionBatch.TxnState[] values()
for (TransactionBatch.TxnState c : TransactionBatch.TxnState.values()) System.out.println(c);
public static TransactionBatch.TxnState 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 nullpublic String toString()
toString in class Enum<TransactionBatch.TxnState>Copyright © 2019 The Apache Software Foundation. All Rights Reserved.