public class NumericCondition extends Condition
| Modifier and Type | Class and Description |
|---|---|
static class |
NumericCondition.NumericComparisonType
Enumeration of the supported ways a numeric comparison can be evaluated
|
| Constructor and Description |
|---|
NumericCondition(NumericCondition.NumericComparisonType type,
String key,
String value)
Constructs a new access policy condition that compares two numbers.
|
getConditionKey, getType, getValues, setConditionKey, setType, setValues, withConditionKey, withType, withValues, withValuespublic NumericCondition(NumericCondition.NumericComparisonType type, String key, String value)
type - The type of comparison to perform.key - The access policy condition key specifying where to get the
first number for the comparison.value - The second number to compare against.