Enum Class ConditionOperator
- All Implemented Interfaces:
Serializable
,Comparable<ConditionOperator>
,Constable
Defines the types of conditions that can be applied when comparing
a placeholder value against an expected value.
Condition types may represent simple string equality, numeric comparisons, or comparisons between durations expressed in a time format.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTrue if the placeholder value, interpreted as a string, contains the expected value as a substring.True if the placeholder value, interpreted as a duration, is strictly greater than the expected duration.True if the placeholder value, interpreted as a duration, is greater than or equal to the expected duration.True if the placeholder value, interpreted as a duration, is strictly less than the expected duration.True if the placeholder value, interpreted as a duration, is less than or equal to the expected duration.True if the placeholder value, interpreted as a string, ends with the expected value.True if the placeholder value is exactly equal to the expected value.True if the placeholder value, interpreted as a number, is strictly greater than the expected value.True if the placeholder value, interpreted as a number, is greater than or equal to the expected value.True if the placeholder value, interpreted as a number, is strictly less than the expected value.True if the placeholder value, interpreted as a number, is less than or equal to the expected value.True if the placeholder value, interpreted as a string, does not contain the expected value as a substring.True if the placeholder value is not equal to the expected value.True if the placeholder value, interpreted as a string, starts with the expected value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionOperator
Returns the enum constant of this class with the specified name.static ConditionOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
True if the placeholder value is exactly equal to the expected value. -
NOT_EQUALS
True if the placeholder value is not equal to the expected value. -
CONTAINS
True if the placeholder value, interpreted as a string, contains the expected value as a substring. -
NOT_CONTAINS
True if the placeholder value, interpreted as a string, does not contain the expected value as a substring. -
STARTS_WITH
True if the placeholder value, interpreted as a string, starts with the expected value. -
ENDS_WITH
True if the placeholder value, interpreted as a string, ends with the expected value. -
GREATER_THAN
True if the placeholder value, interpreted as a number, is strictly greater than the expected value. -
LESS_THAN
True if the placeholder value, interpreted as a number, is strictly less than the expected value. -
GREATER_THAN_OR_EQUALS
True if the placeholder value, interpreted as a number, is greater than or equal to the expected value. -
LESS_THAN_OR_EQUALS
True if the placeholder value, interpreted as a number, is less than or equal to the expected value. -
DURATION_GREATER_THAN
True if the placeholder value, interpreted as a duration, is strictly greater than the expected duration. -
DURATION_LESS_THAN
True if the placeholder value, interpreted as a duration, is strictly less than the expected duration. -
DURATION_GREATER_THAN_OR_EQUALS
True if the placeholder value, interpreted as a duration, is greater than or equal to the expected duration. -
DURATION_LESS_THAN_OR_EQUALS
True if the placeholder value, interpreted as a duration, is less than or equal to the expected duration.
-
-
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
-