Class ObfuscatorProperties.ObfuscatorPropertiesValidator
java.lang.Object
com.github.robtimus.obfuscation.spring.boot.autoconfigure.ObfuscatorProperties.ObfuscatorPropertiesValidator
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ObfuscatorProperties.ValidObfuscatorProperties,
ObfuscatorProperties>
- Enclosing class:
- ObfuscatorProperties
public static final class ObfuscatorProperties.ObfuscatorPropertiesValidator
extends Object
implements jakarta.validation.ConstraintValidator<ObfuscatorProperties.ValidObfuscatorProperties,ObfuscatorProperties>
Validator for
ObfuscatorProperties.ValidObfuscatorProperties
and ObfuscatorProperties
.- Author:
- Rob Spoor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(ObfuscatorProperties properties, jakarta.validation.ConstraintValidatorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.validation.ConstraintValidator
initialize
-
Constructor Details
-
ObfuscatorPropertiesValidator
public ObfuscatorPropertiesValidator()
-
-
Method Details
-
isValid
public boolean isValid(ObfuscatorProperties properties, jakarta.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<ObfuscatorProperties.ValidObfuscatorProperties,
ObfuscatorProperties>
-