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
ConstructorsConstructorDescriptionProgrammaticMetaDataProvider(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 ornullif 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:MetaDataProviderReturns a bean configuration for the given type ornullif this provider has no meta-data on the given type.- Specified by:
getBeanConfigurationin interfaceMetaDataProvider
-
getAnnotationProcessingOptions
Description copied from interface:MetaDataProviderReturns the annotation processing options as configured by this provider.- Specified by:
getAnnotationProcessingOptionsin interfaceMetaDataProvider- Returns:
- The annotation processing options as configured by this provider.
-