Class ProgrammaticMetaDataProvider
- java.lang.Object
-
- org.hibernate.validator.internal.metadata.provider.ProgrammaticMetaDataProvider
-
- All Implemented Interfaces:
MetaDataProvider
public class ProgrammaticMetaDataProvider extends Object implements MetaDataProvider
AMetaDataProviderbased on the programmatic constraint API.- Author:
- Gunnar Morling
-
-
Constructor Summary
Constructors Constructor Description ProgrammaticMetaDataProvider(ConstraintCreationContext constraintCreationContext, Set<DefaultConstraintMapping> constraintMappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationProcessingOptionsgetAnnotationProcessingOptions()Returns 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 Detail
-
ProgrammaticMetaDataProvider
public ProgrammaticMetaDataProvider(ConstraintCreationContext constraintCreationContext, Set<DefaultConstraintMapping> constraintMappings)
-
-
Method Detail
-
getBeanConfiguration
public <T> BeanConfiguration<T> getBeanConfiguration(Class<T> beanClass)
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
public AnnotationProcessingOptions 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.
-
-