Class ValidCountryValidator
- java.lang.Object
-
- app.coronawarn.server.common.persistence.domain.validation.ValidCountryValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<ValidCountry,String>
public class ValidCountryValidator extends Object implements javax.validation.ConstraintValidator<ValidCountry,String>
-
-
Constructor Summary
Constructors Constructor Description ValidCountryValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(String country, javax.validation.ConstraintValidatorContext constraintValidatorContext)
-
-
-
Method Detail
-
isValid
public boolean isValid(String country, javax.validation.ConstraintValidatorContext constraintValidatorContext)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<ValidCountry,String>
-
-