Class CheckCountryCode
java.lang.Object
com.github.mizool.core.validation.CheckCountryCode
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<CountryCode,
Object>
public class CheckCountryCode
extends Object
implements jakarta.validation.ConstraintValidator<CountryCode,Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(CountryCode countryCode) boolean
isValid
(Object validationObject, jakarta.validation.ConstraintValidatorContext constraintValidatorContext)
-
Constructor Details
-
CheckCountryCode
public CheckCountryCode()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<CountryCode,
Object>
-
isValid
public boolean isValid(Object validationObject, jakarta.validation.ConstraintValidatorContext constraintValidatorContext) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<CountryCode,
Object>
-