Package org.apache.bval.jsr.metadata
Class CompositeBuilder
- java.lang.Object
-
- org.apache.bval.jsr.metadata.CompositeBuilder
-
- Direct Known Subclasses:
HierarchyBuilder
public class CompositeBuilder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
CompositeBuilder.Delegator<DELEGATE extends HasAnnotationBehavior>
(package private) class
CompositeBuilder.ForBean<T>
(package private) class
CompositeBuilder.ForClass<T>
(package private) class
CompositeBuilder.ForContainer<DELEGATE extends MetadataBuilder.ForContainer<E>,E extends AnnotatedElement>
(package private) class
CompositeBuilder.ForElement<DELEGATE extends MetadataBuilder.ForElement<E>,E extends AnnotatedElement>
(package private) class
CompositeBuilder.ForExecutable<DELEGATE extends MetadataBuilder.ForExecutable<E>,E extends Executable>
-
Field Summary
Fields Modifier and Type Field Description protected ApacheValidatorFactory
validatorFactory
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompositeBuilder(ApacheValidatorFactory validatorFactory, AnnotationBehaviorMergeStrategy annotationBehaviorMergeStrategy)
-
Method Summary
-
-
-
Field Detail
-
validatorFactory
protected final ApacheValidatorFactory validatorFactory
-
-
Constructor Detail
-
CompositeBuilder
protected CompositeBuilder(ApacheValidatorFactory validatorFactory, AnnotationBehaviorMergeStrategy annotationBehaviorMergeStrategy)
-
-
Method Detail
-
with
public static CompositeBuilder with(ApacheValidatorFactory validatorFactory, AnnotationBehaviorMergeStrategy annotationBehaviorStrategy)
-
compose
public <T> Collector<MetadataBuilder.ForBean<T>,?,MetadataBuilder.ForBean<T>> compose()
-
composeContainer
public <E extends AnnotatedElement> Collector<MetadataBuilder.ForContainer<E>,?,MetadataBuilder.ForContainer<E>> composeContainer()
-
getMetaParameters
protected final <E extends Executable> List<Meta<Parameter>> getMetaParameters(Meta<E> meta, BiFunction<jakarta.validation.ParameterNameProvider,E,List<String>> getParameterNames)
-
getConstraintDeclarationMap
protected <E extends AnnotatedElement> Map<Meta<E>,Annotation[]> getConstraintDeclarationMap(CompositeBuilder.ForElement<? extends MetadataBuilder.ForElement<E>,E> composite, Meta<E> meta)
-
getGroupSequence
protected <T> List<Class<?>> getGroupSequence(CompositeBuilder.ForClass<T> composite, Meta<Class<T>> meta)
-
forContainer
protected <DELEGATE extends MetadataBuilder.ForContainer<E>,E extends AnnotatedElement> MetadataBuilder.ForContainer<E> forContainer(List<DELEGATE> delegates, Meta<E> meta, jakarta.validation.ElementKind elementKind)
-
forCrossParameter
protected <DELEGATE extends MetadataBuilder.ForElement<E>,E extends Executable> MetadataBuilder.ForElement<E> forCrossParameter(List<DELEGATE> delegates, Meta<E> meta)
-
-