Package com.cloudinary.metadata
Class MetadataValidation.AndValidator
- java.lang.Object
-
- org.cloudinary.json.JSONObject
-
- com.cloudinary.metadata.MetadataValidation
-
- com.cloudinary.metadata.MetadataValidation.AndValidator
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- MetadataValidation
public static class MetadataValidation.AndValidator extends MetadataValidation
An 'And' rule validation used to combine other rules with an 'AND' logic relation between them.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.cloudinary.metadata.MetadataValidation
MetadataValidation.AndValidator, MetadataValidation.ComparisonRule<T>, MetadataValidation.DateGreaterThan, MetadataValidation.DateLessThan, MetadataValidation.IntGreaterThan, MetadataValidation.IntLessThan, MetadataValidation.StringLength
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AND
-
Fields inherited from class com.cloudinary.metadata.MetadataValidation
EQUALS, GREATER_THAN, LESS_THAN, MAX, MIN, STRLEN, TYPE, VALUE
-
Fields inherited from class org.cloudinary.json.JSONObject
NULL
-
-
Constructor Summary
Constructors Constructor Description AndValidator(java.util.List<MetadataValidation> rules)
Create a new instance of the validator with the given rules.
-
Method Summary
-
Methods inherited from class org.cloudinary.json.JSONObject
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, write
-
-
-
-
Field Detail
-
AND
public static final java.lang.String AND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AndValidator
public AndValidator(java.util.List<MetadataValidation> rules)
Create a new instance of the validator with the given rules.- Parameters:
rules
- The rules to use.
-
-