public enum BinaryOperatorType extends Enum<BinaryOperatorType>
Modifier and Type | Class and Description |
---|---|
static class |
BinaryOperatorType.ParameterType
Parameter types a binary operator supports on the right hand side.
|
Enum Constant and Description |
---|
CONTAINS |
ENDS_WITH |
EQ |
EQ_IGNORE |
GT |
GTE |
IN |
IS |
LT |
LTE |
NOT_CONTAINS |
NOT_EQ |
NOT_IN |
NOT_IS |
NOT_RANGE |
NOT_REGEX |
RANGE |
REGEX |
STARTS_WITH |
Modifier and Type | Method and Description |
---|---|
static BinaryOperatorType |
asOperator(String text) |
static String |
getOperatorText(BinaryOperatorType operator) |
static BinaryOperatorType.ParameterType[] |
supportedParameterTypes(BinaryOperatorType operator)
Returns the types of right hand side parameters this operator supports.
|
String |
toString() |
static BinaryOperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperatorType EQ
public static final BinaryOperatorType EQ_IGNORE
public static final BinaryOperatorType GT
public static final BinaryOperatorType GTE
public static final BinaryOperatorType LT
public static final BinaryOperatorType LTE
public static final BinaryOperatorType NOT_EQ
public static final BinaryOperatorType CONTAINS
public static final BinaryOperatorType NOT_CONTAINS
public static final BinaryOperatorType REGEX
public static final BinaryOperatorType NOT_REGEX
public static final BinaryOperatorType IN
public static final BinaryOperatorType NOT_IN
public static final BinaryOperatorType IS
public static final BinaryOperatorType NOT_IS
public static final BinaryOperatorType RANGE
public static final BinaryOperatorType NOT_RANGE
public static final BinaryOperatorType STARTS_WITH
public static final BinaryOperatorType ENDS_WITH
public static BinaryOperatorType[] values()
for (BinaryOperatorType c : BinaryOperatorType.values()) System.out.println(c);
public static BinaryOperatorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BinaryOperatorType asOperator(String text)
public static String getOperatorText(BinaryOperatorType operator)
public static BinaryOperatorType.ParameterType[] supportedParameterTypes(BinaryOperatorType operator)
operator
- the operatorpublic String toString()
toString
in class Enum<BinaryOperatorType>
Apache Camel