@Immutable @PublicApi public enum Operator extends Enum<Operator>
Enum Constant and Description |
---|
AFTER |
BEFORE |
BY |
CHANGED |
DURING |
EQUALS |
FROM |
GREATER_THAN |
GREATER_THAN_EQUALS |
IN |
IS |
IS_NOT |
LESS_THAN |
LESS_THAN_EQUALS |
LIKE |
NOT_CHANGED |
NOT_EQUALS |
NOT_IN |
NOT_LIKE |
ON |
TO |
WAS |
WAS_IN |
WAS_NOT |
WAS_NOT_IN |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString() |
abstract <T> Predicate<T> |
getPredicateForValue(Comparator<? super T> comparator,
T operand) |
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 LIKE
public static final Operator NOT_LIKE
public static final Operator EQUALS
public static final Operator NOT_EQUALS
public static final Operator IN
public static final Operator NOT_IN
public static final Operator IS
public static final Operator IS_NOT
public static final Operator LESS_THAN
public static final Operator LESS_THAN_EQUALS
public static final Operator GREATER_THAN
public static final Operator GREATER_THAN_EQUALS
public static final Operator WAS
public static final Operator WAS_NOT
public static final Operator WAS_IN
public static final Operator WAS_NOT_IN
public static final Operator CHANGED
public static final Operator NOT_CHANGED
public static final Operator BEFORE
public static final Operator AFTER
public static final Operator FROM
public static final Operator TO
public static final Operator ON
public static final Operator DURING
public static final Operator BY
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 String getDisplayString()
public abstract <T> Predicate<T> getPredicateForValue(Comparator<? super T> comparator, T operand)
Copyright © 2002-2021 Atlassian. All Rights Reserved.