- java.lang.Object
-
- io.rxmicro.validation.base.AbstractMaxConstraintValidator<Integer>
-
- io.rxmicro.validation.validator.MaxIntConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<Integer>
public class MaxIntConstraintValidator extends AbstractMaxConstraintValidator<Integer> implements ConstraintValidator<Integer>
-
-
Constructor Summary
Constructors Constructor Description MaxIntConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxIntConstraintValidatorwith the specified parameters.MaxIntConstraintValidator(String maxValue, boolean inclusive)Creates the default instance ofMaxIntConstraintValidatorwith the specified parameters.
-
Method Summary
-
Methods inherited from class io.rxmicro.validation.base.AbstractMaxConstraintValidator
validate, 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, validateList, validateList
-
-
-
-
Constructor Detail
-
MaxIntConstraintValidator
public MaxIntConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxIntConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
MaxIntConstraintValidator
public MaxIntConstraintValidator(String maxValue, boolean inclusive)
Creates the default instance ofMaxIntConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
-