Enum Class FilterExpressionLogicalOperator

java.lang.Object
java.lang.Enum<FilterExpressionLogicalOperator>
com.caplin.streamlink.FilterExpressionLogicalOperator
All Implemented Interfaces:
Serializable, Comparable<FilterExpressionLogicalOperator>, Constable

public enum FilterExpressionLogicalOperator extends Enum<FilterExpressionLogicalOperator>

Enumeration that represents a particular logical operation.

  • Enum Constant Details

    • AND

      public static final FilterExpressionLogicalOperator AND

      Represents that a logical AND will be performed. A record will only be returned if it matches all of the FilterExpressions that have been added to the LogicalFilterExpression.

    • OR

      public static final FilterExpressionLogicalOperator OR

      Represents that a logical OR will be performed. A record will be returned if it matches any of the FilterExpressions that have been added to the LogicialFilterExpression.

  • Method Details

    • values

      public static FilterExpressionLogicalOperator[] 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 FilterExpressionLogicalOperator 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