Class ProgrammaticMetaDataProvider
java.lang.Object
org.hibernate.validator.internal.metadata.provider.ProgrammaticMetaDataProvider
- All Implemented Interfaces:
MetaDataProvider
A
MetaDataProvider
based on the programmatic constraint API.- Author:
- Gunnar Morling
-
Constructor Summary
ConstructorDescriptionProgrammaticMetaDataProvider
(ConstraintCreationContext constraintCreationContext, Set<DefaultConstraintMapping> constraintMappings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotation processing options as configured by this provider.<T> BeanConfiguration<T>
getBeanConfiguration
(Class<T> beanClass) Returns a bean configuration for the given type ornull
if this provider has no meta-data on the given type.
-
Constructor Details
-
ProgrammaticMetaDataProvider
public ProgrammaticMetaDataProvider(ConstraintCreationContext constraintCreationContext, Set<DefaultConstraintMapping> constraintMappings)
-
-
Method Details
-
getBeanConfiguration
Description copied from interface:MetaDataProvider
Returns a bean configuration for the given type ornull
if this provider has no meta-data on the given type.- Specified by:
getBeanConfiguration
in interfaceMetaDataProvider
-
getAnnotationProcessingOptions
Description copied from interface:MetaDataProvider
Returns the annotation processing options as configured by this provider.- Specified by:
getAnnotationProcessingOptions
in interfaceMetaDataProvider
- Returns:
- The annotation processing options as configured by this provider.
-