Package com.cloudinary.metadata
Class MetadataValidation.ComparisonRule<T>
- java.lang.Object
-
- org.cloudinary.json.JSONObject
-
- com.cloudinary.metadata.MetadataValidation
-
- com.cloudinary.metadata.MetadataValidation.ComparisonRule<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MetadataValidation.DateGreaterThan
,MetadataValidation.DateLessThan
,MetadataValidation.IntGreaterThan
,MetadataValidation.IntLessThan
- Enclosing class:
- MetadataValidation
public abstract static class MetadataValidation.ComparisonRule<T> extends MetadataValidation
Base class for all comparison (greater than/less than) validation rules.- 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 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 ComparisonRule(java.lang.String type, T value)
ComparisonRule(java.lang.String type, T value, java.lang.Boolean equals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
putValue(T value)
-
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
-
-