Enum ComparePropertyValueOperation
- java.lang.Object
-
- java.lang.Enum<ComparePropertyValueOperation>
-
- org.alfresco.repo.action.evaluator.compare.ComparePropertyValueOperation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ComparePropertyValueOperation>
public enum ComparePropertyValueOperation extends java.lang.Enum<ComparePropertyValueOperation>
ComparePropertyValueOperation enum.Contains the operations that can be used when evaluating whether the value of a property matches the value set.
Some operations can only be used with specific types. If a mismatch is encountered an error will be raised.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEGINSCONTAINSENDSEQUALSGREATER_THANGREATER_THAN_EQUALLESS_THANLESS_THAN_EQUAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComparePropertyValueOperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ComparePropertyValueOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final ComparePropertyValueOperation EQUALS
-
CONTAINS
public static final ComparePropertyValueOperation CONTAINS
-
BEGINS
public static final ComparePropertyValueOperation BEGINS
-
ENDS
public static final ComparePropertyValueOperation ENDS
-
GREATER_THAN
public static final ComparePropertyValueOperation GREATER_THAN
-
GREATER_THAN_EQUAL
public static final ComparePropertyValueOperation GREATER_THAN_EQUAL
-
LESS_THAN
public static final ComparePropertyValueOperation LESS_THAN
-
LESS_THAN_EQUAL
public static final ComparePropertyValueOperation LESS_THAN_EQUAL
-
-
Method Detail
-
values
public static ComparePropertyValueOperation[] 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 (ComparePropertyValueOperation c : ComparePropertyValueOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComparePropertyValueOperation valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-