public class AnnotationProcessingOptionsImpl extends Object implements AnnotationProcessingOptions
AnnotationProcessingOptions
instance keeps track of annotations which should be ignored as configuration source.
The main validation source for Bean Validation is annotation and alternate configuration sources use this class
to override/ignore existing annotations.Modifier and Type | Class and Description |
---|---|
class |
AnnotationProcessingOptionsImpl.ExecutableParameterKey |
Constructor and Description |
---|
AnnotationProcessingOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
areClassLevelConstraintsIgnoredFor(Class<?> clazz) |
boolean |
areCrossParameterConstraintsIgnoredFor(Member member) |
boolean |
areMemberConstraintsIgnoredFor(Member member) |
boolean |
areParameterConstraintsIgnoredFor(Member member,
int index) |
boolean |
areReturnValueConstraintsIgnoredFor(Member member) |
void |
ignoreAnnotationConstraintForClass(Class<?> clazz,
Boolean b) |
void |
ignoreClassLevelConstraintAnnotations(Class<?> clazz,
boolean b) |
void |
ignoreConstraintAnnotationsForCrossParameterConstraint(Member member,
Boolean b) |
void |
ignoreConstraintAnnotationsForReturnValue(Member member,
Boolean b) |
void |
ignoreConstraintAnnotationsOnMember(Member member,
Boolean b) |
void |
ignoreConstraintAnnotationsOnParameter(Member member,
int index,
Boolean b) |
void |
merge(AnnotationProcessingOptions annotationProcessingOptions) |
public boolean areMemberConstraintsIgnoredFor(Member member)
areMemberConstraintsIgnoredFor
in interface AnnotationProcessingOptions
public boolean areReturnValueConstraintsIgnoredFor(Member member)
areReturnValueConstraintsIgnoredFor
in interface AnnotationProcessingOptions
public boolean areCrossParameterConstraintsIgnoredFor(Member member)
areCrossParameterConstraintsIgnoredFor
in interface AnnotationProcessingOptions
public boolean areParameterConstraintsIgnoredFor(Member member, int index)
areParameterConstraintsIgnoredFor
in interface AnnotationProcessingOptions
public boolean areClassLevelConstraintsIgnoredFor(Class<?> clazz)
areClassLevelConstraintsIgnoredFor
in interface AnnotationProcessingOptions
public void merge(AnnotationProcessingOptions annotationProcessingOptions)
merge
in interface AnnotationProcessingOptions
public void ignoreAnnotationConstraintForClass(Class<?> clazz, Boolean b)
public void ignoreConstraintAnnotationsOnMember(Member member, Boolean b)
public void ignoreConstraintAnnotationsForReturnValue(Member member, Boolean b)
public void ignoreConstraintAnnotationsForCrossParameterConstraint(Member member, Boolean b)
public void ignoreConstraintAnnotationsOnParameter(Member member, int index, Boolean b)
public void ignoreClassLevelConstraintAnnotations(Class<?> clazz, boolean b)
Copyright © 2017 JBoss by Red Hat. All rights reserved.