Package org.apache.bval.constraints
Class MinValidatorForString
- java.lang.Object
-
- org.apache.bval.constraints.MinValidatorForString
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.Min,String>
public class MinValidatorForString extends Object implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.Min,String>
Check that the String being validated represents a number, and has a value more than or equal to the minimum value specified.
-
-
Constructor Summary
Constructors Constructor Description MinValidatorForString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(jakarta.validation.constraints.Min annotation)
boolean
isValid(String value, jakarta.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(jakarta.validation.constraints.Min annotation)
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<jakarta.validation.constraints.Min,String>
-
-