Enum Operator
- java.lang.Object
-
- java.lang.Enum<Operator>
-
- org.drools.verifier.core.relations.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<Operator>
public enum Operator extends Enum<Operator>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRangeOperator()static Operatorresolve(String operator)StringtoString()static OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Operator NONE
-
EQUALS
public static final Operator EQUALS
-
GREATER_THAN
public static final Operator GREATER_THAN
-
LESS_THAN
public static final Operator LESS_THAN
-
GREATER_OR_EQUAL
public static final Operator GREATER_OR_EQUAL
-
LESS_OR_EQUAL
public static final Operator LESS_OR_EQUAL
-
NOT_EQUALS
public static final Operator NOT_EQUALS
-
IN
public static final Operator IN
-
NOT_IN
public static final Operator NOT_IN
-
MATCHES
public static final Operator MATCHES
-
SOUNDSLIKE
public static final Operator SOUNDSLIKE
-
AFTER
public static final Operator AFTER
-
BEFORE
public static final Operator BEFORE
-
COINCIDES
public static final Operator COINCIDES
-
STR_STARTS_WITH
public static final Operator STR_STARTS_WITH
-
STR_ENDS_WITH
public static final Operator STR_ENDS_WITH
-
STR_LENGHT
public static final Operator STR_LENGHT
-
NOT_MATCHES
public static final Operator NOT_MATCHES
-
CONTAINS
public static final Operator CONTAINS
-
NOT_CONTAINS
public static final Operator NOT_CONTAINS
-
DURING
public static final Operator DURING
-
FINISHES
public static final Operator FINISHES
-
FINISHED_BY
public static final Operator FINISHED_BY
-
INCLUDES
public static final Operator INCLUDES
-
MEETS
public static final Operator MEETS
-
MET_BY
public static final Operator MET_BY
-
OVERLAPS
public static final Operator OVERLAPS
-
OVERLAPPED_BY
public static final Operator OVERLAPPED_BY
-
STARTS
public static final Operator STARTS
-
STARTED_BY
public static final Operator STARTED_BY
-
CUSTOM
public static final Operator CUSTOM
-
MEMBER_OF
public static final Operator MEMBER_OF
-
NOT_MEMBER_OF
public static final Operator NOT_MEMBER_OF
-
EXCLUDES
public static final Operator EXCLUDES
-
-
Method Detail
-
values
public static Operator[] 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 (Operator c : Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Operator 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
-
isRangeOperator
public boolean isRangeOperator()
-
-