public class ProgrammaticMetaDataProvider extends Object implements MetaDataProvider
MetaDataProvider
based on the programmatic constraint API.Constructor and Description |
---|
ProgrammaticMetaDataProvider(ConstraintHelper constraintHelper,
TypeResolutionHelper typeResolutionHelper,
ValueExtractorManager valueExtractorManager,
Set<DefaultConstraintMapping> constraintMappings) |
Modifier and Type | Method and Description |
---|---|
AnnotationProcessingOptions |
getAnnotationProcessingOptions()
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 or
null if this provider has no meta-data on the given
type. |
public ProgrammaticMetaDataProvider(ConstraintHelper constraintHelper, TypeResolutionHelper typeResolutionHelper, ValueExtractorManager valueExtractorManager, Set<DefaultConstraintMapping> constraintMappings)
public <T> BeanConfiguration<T> getBeanConfiguration(Class<T> beanClass)
MetaDataProvider
null
if this provider has no meta-data on the given
type.getBeanConfiguration
in interface MetaDataProvider
public AnnotationProcessingOptions getAnnotationProcessingOptions()
MetaDataProvider
getAnnotationProcessingOptions
in interface MetaDataProvider
Copyright © 2018 JBoss by Red Hat. All rights reserved.