org.apache.camel.language.simple
Enum SimpleLangaugeOperator
java.lang.Object
java.lang.Enum<SimpleLangaugeOperator>
org.apache.camel.language.simple.SimpleLangaugeOperator
- All Implemented Interfaces:
- Serializable, Comparable<SimpleLangaugeOperator>
public enum SimpleLangaugeOperator
- extends Enum<SimpleLangaugeOperator>
Operators supported by simple language
- EQ : ==
- GT : >
- GTE : >=
- LT : <
- LTE : <=
- NOT : !=
- contains : tested for if it contains the value
- not contains : tested for if it does not contain the value
- regex : matching a regular expression
- not regex : not matching a regular expression
- in : tested for in a list of values separated by comma
- not in : tested for not in a list of values separated by comma
EQ
public static final SimpleLangaugeOperator EQ
GT
public static final SimpleLangaugeOperator GT
GTE
public static final SimpleLangaugeOperator GTE
LT
public static final SimpleLangaugeOperator LT
LTE
public static final SimpleLangaugeOperator LTE
NOT
public static final SimpleLangaugeOperator NOT
CONTAINS
public static final SimpleLangaugeOperator CONTAINS
NOT_CONTAINS
public static final SimpleLangaugeOperator NOT_CONTAINS
REGEX
public static final SimpleLangaugeOperator REGEX
NOT_REGEX
public static final SimpleLangaugeOperator NOT_REGEX
IN
public static final SimpleLangaugeOperator IN
NOT_IN
public static final SimpleLangaugeOperator NOT_IN
values
public static final SimpleLangaugeOperator[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SimpleLangaugeOperator c : SimpleLangaugeOperator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SimpleLangaugeOperator 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 name
asOperator
public static SimpleLangaugeOperator asOperator(String text)
getOperatorText
public String getOperatorText(SimpleLangaugeOperator operator)
toString
public String toString()
- Overrides:
toString
in class Enum<SimpleLangaugeOperator>
Copyright © 2009 Apache Software Foundation. All Rights Reserved.