public enum Operator extends Enum<Operator>
| Enum Constant and Description |
|---|
after |
before |
contains |
endsWith |
equals |
greaterThan |
greaterThanOrEqual |
in |
lessThan |
lessThanOrEqual |
matches |
notIn |
startsWith |
testRuleEquals |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
evaluate(com.google.gson.JsonPrimitive contextValue,
List<com.google.gson.JsonPrimitive> targetValues) |
protected static org.joda.time.DateTime |
getDateTime(com.google.gson.JsonPrimitive date) |
static Operator |
valueOf(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.
|
public static final Operator equals
public static final Operator testRuleEquals
public static final Operator lessThan
public static final Operator greaterThan
public static final Operator greaterThanOrEqual
public static final Operator lessThanOrEqual
public static final Operator startsWith
public static final Operator endsWith
public static final Operator matches
public static final Operator in
public static final Operator notIn
public static final Operator contains
public static final Operator before
public static final Operator after
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator 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 abstract boolean evaluate(com.google.gson.JsonPrimitive contextValue,
List<com.google.gson.JsonPrimitive> targetValues)
protected static org.joda.time.DateTime getDateTime(com.google.gson.JsonPrimitive date)
Copyright © 2017. All rights reserved.