Class DistributionServiceConfigValidator
- java.lang.Object
-
- app.coronawarn.server.services.distribution.config.DistributionServiceConfigValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
public class DistributionServiceConfigValidator extends Object implements org.springframework.validation.Validator
Validate the values of the DistributionServiceConfig.
-
-
Constructor Summary
Constructors Constructor Description DistributionServiceConfigValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(Class<?> type)voidvalidate(Object o, org.springframework.validation.Errors errors)Validate theDistributionServiceConfigif the supported country parameter is conform to the ISO 3116.
-
-
-
Method Detail
-
supports
public boolean supports(Class<?> type)
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
public void validate(Object o, org.springframework.validation.Errors errors)
Validate theDistributionServiceConfigif the supported country parameter is conform to the ISO 3116.- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
-