Enum UpdateOp.Condition.Type
- java.lang.Object
-
- java.lang.Enum<UpdateOp.Condition.Type>
-
- org.apache.jackrabbit.oak.plugins.document.UpdateOp.Condition.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<UpdateOp.Condition.Type>
- Enclosing class:
- UpdateOp.Condition
public static enum UpdateOp.Condition.Type extends Enum<UpdateOp.Condition.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpdateOp.Condition.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateOp.Condition.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXISTS
public static final UpdateOp.Condition.Type EXISTS
Checks if the map entry is present in a map or not.
-
EQUALS
public static final UpdateOp.Condition.Type EQUALS
Checks if a map entry equals a given value.
-
NOTEQUALS
public static final UpdateOp.Condition.Type NOTEQUALS
Checks if a map entry does not equal a given value.
-
-
Method Detail
-
values
public static UpdateOp.Condition.Type[] 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 (UpdateOp.Condition.Type c : UpdateOp.Condition.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateOp.Condition.Type 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
-
-