/** * Constructs a new access policy condition that compares two numbers. * * @param type * The type of comparison to perform. * @param key * The access policy condition key specifying where to get the * first number for the comparison. * @param value * The second number to compare against. */ public NumericCondition(NumericComparisonType type, String key, String value) { super.type = type.toString(); super.conditionKey = key; super.values = Arrays.asList(new String[] {value}); }
/** * Constructs a new access policy condition that compares two numbers. * * @param type * The type of comparison to perform. * @param key * The access policy condition key specifying where to get the * first number for the comparison. * @param value * The second number to compare against. */ public NumericCondition(NumericComparisonType type, String key, String value) { super.type = type.toString(); super.conditionKey = key; super.values = Arrays.asList(new String[] {value}); }
/** * Constructs a new access policy condition that compares two numbers. * * @param type The type of comparison to perform. * @param key The access policy condition key specifying where to get the * first number for the comparison. * @param value The second number to compare against. */ public NumericCondition(NumericComparisonType type, String key, String value) { super.type = type.toString(); super.conditionKey = key; super.values = Arrays.asList(new String[] { value }); }
/** * Constructs a new access policy condition that compares two numbers. * * @param type The type of comparison to perform. * @param key The access policy condition key specifying where to get the * first number for the comparison. * @param value The second number to compare against. */ public NumericCondition(NumericComparisonType type, String key, String value) { super.type = type.toString(); super.conditionKey = key; super.values = Arrays.asList(new String[] { value }); }
/** * Constructs a new access policy condition that compares two numbers. * * @param type * The type of comparison to perform. * @param key * The access policy condition key specifying where to get the * first number for the comparison. * @param value * The second number to compare against. */ public NumericCondition(NumericComparisonType type, String key, String value) { super.type = type.toString(); super.conditionKey = key; super.values = Arrays.asList(new String[] {value}); }
/** * Constructs a new access policy condition that compares two numbers. * * @param type The type of comparison to perform. * @param key The access policy condition key specifying where to get the * first number for the comparison. * @param value The second number to compare against. */ public NumericCondition(NumericComparisonType type, String key, String value) { super.type = type.toString(); super.conditionKey = key; super.values = Arrays.asList(new String[] { value }); }