Package org.apache.bval.jsr
Class ConstraintCached
- java.lang.Object
-
- org.apache.bval.jsr.ConstraintCached
-
public class ConstraintCached extends Object
Description: hold the relationship annotation->validatedBy[] ConstraintValidator classes that are already parsed in a cache.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConstraintCached.ConstraintValidatorInfo<T extends Annotation>
Describes aConstraintValidator
implementation type.
-
Constructor Summary
Constructors Constructor Description ConstraintCached()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ValidatorMappingProvider validatorMappingProvider)
<A extends Annotation>
List<Class<? extends jakarta.validation.ConstraintValidator<A,?>>>getConstraintValidatorClasses(Class<A> constraintType)
<A extends Annotation>
Set<ConstraintCached.ConstraintValidatorInfo<A>>getConstraintValidatorInfo(Class<A> constraintType)
ConcurrentMap<ConstraintD<?>,jakarta.validation.ConstraintValidator<?,?>>
getValidators()
-
-
-
Method Detail
-
getValidators
public ConcurrentMap<ConstraintD<?>,jakarta.validation.ConstraintValidator<?,?>> getValidators()
-
add
public void add(ValidatorMappingProvider validatorMappingProvider)
-
getConstraintValidatorClasses
public <A extends Annotation> List<Class<? extends jakarta.validation.ConstraintValidator<A,?>>> getConstraintValidatorClasses(Class<A> constraintType)
-
getConstraintValidatorInfo
public <A extends Annotation> Set<ConstraintCached.ConstraintValidatorInfo<A>> getConstraintValidatorInfo(Class<A> constraintType)
-
-