public static enum Condition.Op extends Enum<Condition.Op>
Enum Constant and Description |
---|
BEGINS_WITH |
CONTAINS |
ENDS_WITH |
EQ |
GREATER |
GREATER_OR_EQUAL |
LESS |
LESS_OR_EQUAL |
NEQ |
NREGEX |
ONE_OF |
REGEX |
Modifier and Type | Method and Description |
---|---|
boolean |
eval(String testString,
String prototypeString) |
static Condition.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition.Op EQ
public static final Condition.Op NEQ
public static final Condition.Op GREATER_OR_EQUAL
public static final Condition.Op GREATER
public static final Condition.Op LESS_OR_EQUAL
public static final Condition.Op LESS
public static final Condition.Op REGEX
public static final Condition.Op NREGEX
public static final Condition.Op ONE_OF
public static final Condition.Op BEGINS_WITH
public static final Condition.Op ENDS_WITH
public static final Condition.Op CONTAINS
public static Condition.Op[] values()
for (Condition.Op c : Condition.Op.values()) System.out.println(c);
public static Condition.Op 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 null