Package com.caplin.streamlink
Enum FilterExpressionLogicalOperator
- java.lang.Object
-
- java.lang.Enum<FilterExpressionLogicalOperator>
-
- com.caplin.streamlink.FilterExpressionLogicalOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FilterExpressionLogicalOperator>
public enum FilterExpressionLogicalOperator extends java.lang.Enum<FilterExpressionLogicalOperator>
Enumeration that represents a particular logical operation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilterExpressionLogicalOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FilterExpressionLogicalOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static FilterExpressionLogicalOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FilterExpressionLogicalOperator c : FilterExpressionLogicalOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterExpressionLogicalOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-