- java.lang.Object
-
- io.rxmicro.validation.base.AbstractMaxConstraintValidator<Byte>
-
- io.rxmicro.validation.validator.MaxByteConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<Byte>
public class MaxByteConstraintValidator extends AbstractMaxConstraintValidator<Byte> implements ConstraintValidator<Byte>
-
-
Field Summary
-
Fields inherited from class io.rxmicro.validation.base.AbstractMaxConstraintValidator
inclusive, maxValue
-
-
Constructor Summary
Constructors Constructor Description MaxByteConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxByteConstraintValidatorwith the specified parameters.MaxByteConstraintValidator(String maxValue, boolean inclusive)Creates the default instance ofMaxByteConstraintValidatorwith the specified parameters.
-
Method Summary
-
Methods inherited from class io.rxmicro.validation.base.AbstractMaxConstraintValidator
validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.rxmicro.validation.ConstraintValidator
validate, validate, validateIterable, validateIterable, validateMapValues, validateMapValues
-
-
-
-
Constructor Detail
-
MaxByteConstraintValidator
public MaxByteConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxByteConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
MaxByteConstraintValidator
public MaxByteConstraintValidator(String maxValue, boolean inclusive)
Creates the default instance ofMaxByteConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
-