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