public enum PolicyOperator extends Enum<PolicyOperator>
| Enum Constant and Description |
|---|
BITWISE_AND
Performs a bitwise and operation against two operands.
|
BITWISE_OR
Performs a bitwise or operation against two operands.
|
CONTAINS
Performs a search for the existence of an object within a collection.
|
CONTAINS_REG_EX
Performs a regular expressions match on a collection of strings.
|
EMPTY
Performs an evaluation of the number of elements within a collection and determines if the collection is empty.
|
EQUALS
Performs an equality operation against two operands.
|
GREATER
Performs a greater than operation against two operands.
|
INTERSECTION
Performs an intersection of two sets and returns the resulting set.
|
LESS
Performs a less than operation against two operands.
|
LOGICAL_AND
Performs a logical and operation against two operands.
|
LOGICAL_NOT
Performs a logical not operation against a single boolean value.
|
LOGICAL_OR
Performs a logical or operation against two operands.
|
NOT_CONTAINS
Performs a search for the non-existence of an object within a collection.
|
NOT_EMPTY
Performs an evaluation of the number of elements within a collection and determines if the collection is non-empty.
|
NOT_EQUALS
Performs a non-equality operation against two operands.
|
REG_EX
Performs a regular expression match on a string.
|
SIZE
Performs an evaluation of the number of elements within a collection.
|
URI_VALIDATE
Performs a URL validation operation against a URL.
|
| Modifier and Type | Method and Description |
|---|---|
static PolicyOperator |
fromToken(String token)
Gets the policy operator associated with a specific token string.
|
Class<?> |
getExecutorClass()
Gets the
PolicyOperator class that performs the actual execution logic of the operator. |
String |
getOperatorText()
Gets the plain English representation of the operator.
|
String |
getOperatorToken()
Gets the token of the operator used in a lexicon parser.
|
PolicyOperatorParamsType |
getParamsType()
Gets the
PolicyOperatorParamsType of the operator. |
static PolicyOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyOperator EQUALS
public static final PolicyOperator NOT_EQUALS
public static final PolicyOperator GREATER
public static final PolicyOperator LESS
public static final PolicyOperator REG_EX
public static final PolicyOperator CONTAINS
public static final PolicyOperator NOT_CONTAINS
public static final PolicyOperator CONTAINS_REG_EX
public static final PolicyOperator SIZE
public static final PolicyOperator EMPTY
public static final PolicyOperator NOT_EMPTY
public static final PolicyOperator INTERSECTION
public static final PolicyOperator LOGICAL_OR
public static final PolicyOperator LOGICAL_AND
public static final PolicyOperator LOGICAL_NOT
public static final PolicyOperator BITWISE_AND
public static final PolicyOperator BITWISE_OR
public static final PolicyOperator URI_VALIDATE
public static PolicyOperator[] values()
for (PolicyOperator c : PolicyOperator.values()) System.out.println(c);
public static PolicyOperator 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 getOperatorToken()
public String getOperatorText()
public Class<?> getExecutorClass()
PolicyOperator class that performs the actual execution logic of the operator.PolicyOperator class that performs the actual execution logic of the operator.public PolicyOperatorParamsType getParamsType()
PolicyOperatorParamsType of the operator.PolicyOperatorParamsType of the operator.public static PolicyOperator fromToken(String token)
token - The token used to look up the PolicyOperator.Copyright © 2010–2020 The Direct Project. All rights reserved.