Package org.apache.bval.jsr
Class ContextConstraintValidatorFactoryTest.Contrived.Validator
- java.lang.Object
-
- org.apache.bval.jsr.ContextConstraintValidatorFactoryTest.Contrived.Validator
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ContextConstraintValidatorFactoryTest.Contrived,Object>
- Enclosing class:
- ContextConstraintValidatorFactoryTest.Contrived
public static class ContextConstraintValidatorFactoryTest.Contrived.Validator extends Object implements jakarta.validation.ConstraintValidator<ContextConstraintValidatorFactoryTest.Contrived,Object>
-
-
Constructor Summary
Constructors Constructor Description Validator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getRequiredCollaborator()
void
initialize(ContextConstraintValidatorFactoryTest.Contrived constraintAnnotation)
boolean
isValid(Object value, jakarta.validation.ConstraintValidatorContext context)
void
setRequiredCollaborator(Object requiredCollaborator)
-
-
-
Method Detail
-
getRequiredCollaborator
public Object getRequiredCollaborator()
-
setRequiredCollaborator
public void setRequiredCollaborator(Object requiredCollaborator)
-
initialize
public void initialize(ContextConstraintValidatorFactoryTest.Contrived constraintAnnotation)
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<ContextConstraintValidatorFactoryTest.Contrived,Object>
-
isValid
public boolean isValid(Object value, jakarta.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<ContextConstraintValidatorFactoryTest.Contrived,Object>
-
-