Class ValidSettingValidator
- java.lang.Object
-
- de.xima.fc.validation.constraintvalidators.ValidSettingValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<ValidSetting,Setting<?>>
public class ValidSettingValidator extends Object implements javax.validation.ConstraintValidator<ValidSetting,Setting<?>>
Class for validatingSetting
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ValidSettingValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(ValidSetting constraint)
boolean
isValid(Setting<?> setting, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(ValidSetting constraint)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<ValidSetting,Setting<?>>
-
isValid
public boolean isValid(Setting<?> setting, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<ValidSetting,Setting<?>>
-
-