Enum Class Operator

java.lang.Object
java.lang.Enum<Operator>
com.atlassian.query.operator.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>, Constable

@Immutable @PublicApi public enum Operator extends Enum<Operator>
Represents the query operators.
  • Enum Constant Details

    • LIKE

      public static final Operator LIKE
    • NOT_LIKE

      public static final Operator NOT_LIKE
    • EQUALS

      public static final Operator EQUALS
    • NOT_EQUALS

      public static final Operator NOT_EQUALS
    • IN

      public static final Operator IN
    • NOT_IN

      public static final Operator NOT_IN
    • IS

      public static final Operator IS
    • IS_NOT

      public static final Operator IS_NOT
    • LESS_THAN

      public static final Operator LESS_THAN
    • LESS_THAN_EQUALS

      public static final Operator LESS_THAN_EQUALS
    • GREATER_THAN

      public static final Operator GREATER_THAN
    • GREATER_THAN_EQUALS

      public static final Operator GREATER_THAN_EQUALS
    • WAS

      public static final Operator WAS
    • WAS_NOT

      public static final Operator WAS_NOT
    • WAS_IN

      public static final Operator WAS_IN
    • WAS_NOT_IN

      public static final Operator WAS_NOT_IN
    • CHANGED

      public static final Operator CHANGED
    • NOT_CHANGED

      public static final Operator NOT_CHANGED
    • BEFORE

      public static final Operator BEFORE
    • AFTER

      public static final Operator AFTER
    • FROM

      public static final Operator FROM
    • TO

      public static final Operator TO
    • ON

      public static final Operator ON
    • DURING

      public static final Operator DURING
    • BY

      public static final Operator BY
  • Method Details

    • values

      public static Operator[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Operator valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDisplayString

      public String getDisplayString()
    • getPredicateForValue

      public <T> Predicate<T> getPredicateForValue(Comparator<? super T> comparator, T operand)