public class ProgrammaticMetaDataProvider extends Object implements MetaDataProvider
MetaDataProvider
based on the programmatic constraint API.Constructor and Description |
---|
ProgrammaticMetaDataProvider(ConstraintCreationContext constraintCreationContext,
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(ConstraintCreationContext constraintCreationContext, 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 © 2007-2021 Red Hat, Inc. All Rights Reserved