Class 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 Detail

      • DistributionServiceConfigValidator

        public DistributionServiceConfigValidator()
    • Method Detail

      • supports

        public boolean supports​(Class<?> type)
        Specified by:
        supports in interface org.springframework.validation.Validator
      • validate

        public void validate​(Object o,
                             org.springframework.validation.Errors errors)
        Validate the DistributionServiceConfig if the supported country parameter is conform to the ISO 3116.
        Specified by:
        validate in interface org.springframework.validation.Validator