Enum Class Transaction.ConditionType
java.lang.Object
java.lang.Enum<Transaction.ConditionType>
com.loomcache.server.transaction.Transaction.ConditionType
- All Implemented Interfaces:
Serializable, Comparable<Transaction.ConditionType>, Constable
- Enclosing class:
Transaction
Types of conditions that can be evaluated in the IF branch.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionKey must exist in the mapKey must not exist in the mapValue for key must equal expected value -
Method Summary
Modifier and TypeMethodDescriptionstatic Transaction.ConditionTypeReturns the enum constant of this class with the specified name.static Transaction.ConditionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEY_EXISTS
Key must exist in the map -
KEY_NOT_EXISTS
Key must not exist in the map -
VALUE_EQUALS
Value for key must equal expected value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-