Package org.apache.accumulo.core.fate
Enum Fate.TxInfo
- java.lang.Object
-
- java.lang.Enum<Fate.TxInfo>
-
- org.apache.accumulo.core.fate.Fate.TxInfo
-
- All Implemented Interfaces:
Serializable
,Comparable<Fate.TxInfo>
public static enum Fate.TxInfo extends Enum<Fate.TxInfo>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_CLEAN
EXCEPTION
RETURN_VALUE
TX_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Fate.TxInfo
valueOf(String name)
Returns the enum constant of this type with the specified name.static Fate.TxInfo[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TX_NAME
public static final Fate.TxInfo TX_NAME
-
AUTO_CLEAN
public static final Fate.TxInfo AUTO_CLEAN
-
EXCEPTION
public static final Fate.TxInfo EXCEPTION
-
RETURN_VALUE
public static final Fate.TxInfo RETURN_VALUE
-
-
Method Detail
-
values
public static Fate.TxInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Fate.TxInfo c : Fate.TxInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Fate.TxInfo valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-