Enum ComparisonOperator

java.lang.Object
java.lang.Enum<ComparisonOperator>
com.adobe.granite.taskmanagement.ComparisonOperator
All Implemented Interfaces:
Serializable, Comparable<ComparisonOperator>, java.lang.constant.Constable

public enum ComparisonOperator extends Enum<ComparisonOperator>
ComparisonOperator is used in the construction of Filter expressions.
  • Enum Constant Details

    • EQUALS

      public static final ComparisonOperator EQUALS
      A value that represents the Equals operator.
    • GREATER_THAN

      public static final ComparisonOperator GREATER_THAN
      A value that represents the Greater Than operator.
    • LESS_THAN

      public static final ComparisonOperator LESS_THAN
      A value that represents the Less Than operator.
    • NOT_EQUALS

      public static final ComparisonOperator NOT_EQUALS
      A value that represents the Not Equals operator.
    • GREATER_THAN_EQUALS

      public static final ComparisonOperator GREATER_THAN_EQUALS
      A value that represents the Greater Than Or Equals operator.
    • LESS_THAN_EQUALS

      public static final ComparisonOperator LESS_THAN_EQUALS
      A value that represents the Less Than Or Equals operator.
    • BEGINS_WITH

      public static final ComparisonOperator BEGINS_WITH
      A value that represents the Begins With operator.
    • ENDS_WITH

      public static final ComparisonOperator ENDS_WITH
      A value that represents the Ends With operator.
    • CONTAINS

      public static final ComparisonOperator CONTAINS
      A value that represents the Contains operator.
    • IN_LIST

      public static final ComparisonOperator IN_LIST
      A value that represents the In list operator.
  • Method Details

    • values

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

      public static ComparisonOperator 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
      NullPointerException - if the argument is null