public static enum TransactionLog.RecordType extends java.lang.Enum<TransactionLog.RecordType>
Modifier and Type | Method and Description |
---|---|
static TransactionLog.RecordType |
fromPrefix(java.lang.String prefix) |
static TransactionLog.RecordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionLog.RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionLog.RecordType ADD
public static final TransactionLog.RecordType REMOVE
public static final TransactionLog.RecordType COMMIT
public static final TransactionLog.RecordType ABORT
public static TransactionLog.RecordType[] values()
for (TransactionLog.RecordType c : TransactionLog.RecordType.values()) System.out.println(c);
public static TransactionLog.RecordType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TransactionLog.RecordType fromPrefix(java.lang.String prefix)
Copyright © 2015 The Apache Software Foundation