Class ValidSettingValidator

  • All Implemented Interfaces:
    javax.validation.ConstraintValidator<ValidSetting,​Setting<?>>

    public class ValidSettingValidator
    extends Object
    implements javax.validation.ConstraintValidator<ValidSetting,​Setting<?>>
    Class for validating Setting.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • ValidSettingValidator

        public ValidSettingValidator()
    • Method Detail

      • initialize

        public void initialize​(ValidSetting constraint)
        Specified by:
        initialize in interface javax.validation.ConstraintValidator<ValidSetting,​Setting<?>>
      • isValid

        public boolean isValid​(Setting<?> setting,
                               javax.validation.ConstraintValidatorContext context)
        Specified by:
        isValid in interface javax.validation.ConstraintValidator<ValidSetting,​Setting<?>>