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 |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | annotationIgnoredForMembers
Keeps track of explicitly excluded members (fields and properties). |
| private final Map | annotationIgnoresForClasses
Keeps track of explicitly excluded class level constraints. |
| private final Map | annotationIgnoresForCrossParameter
Keeps track of explicitly excluded cross parameter constraints for methods/constructors. |
| private final Map | annotationIgnoresForMethodParameter
Keeps track whether the 'ignore-annotations' flag is set on a method/constructor parameter |
| private final Map | annotationIgnoresForReturnValues
Keeps track of explicitly excluded return value constraints for methods/constructors. |
| private final Map | ignoreAnnotationDefaults
Keeps track whether the 'ignore-annotations' flag is set on bean level in the xml configuration. |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | areParameterConstraintsIgnoredFor(Constrainable constrainable, int index)
Implements org. |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | merge(AnnotationProcessingOptions annotationProcessingOptions)
Implements org. |
| annotationIgnoredForMembers | back to summary |
|---|---|
| private final Map<Constrainable, Boolean> annotationIgnoredForMembers Keeps track of explicitly excluded members (fields and properties). | |
| annotationIgnoresForClasses | back to summary |
|---|---|
| private final Map<Class<?>, Boolean> annotationIgnoresForClasses Keeps track of explicitly excluded class level constraints. | |
| annotationIgnoresForCrossParameter | back to summary |
|---|---|
| private final Map<Constrainable, Boolean> annotationIgnoresForCrossParameter Keeps track of explicitly excluded cross parameter constraints for methods/constructors. | |
| annotationIgnoresForMethodParameter | back to summary |
|---|---|
| private final Map<AnnotationProcessingOptionsImpl. Keeps track whether the 'ignore-annotations' flag is set on a method/constructor parameter | |
| annotationIgnoresForReturnValues | back to summary |
|---|---|
| private final Map<Constrainable, Boolean> annotationIgnoresForReturnValues Keeps track of explicitly excluded return value constraints for methods/constructors. | |
| ignoreAnnotationDefaults | back to summary |
|---|---|
| private final Map<Class<?>, Boolean> ignoreAnnotationDefaults Keeps track whether the 'ignore-annotations' flag is set on bean level in the xml configuration. If 'ignore-annotations'
is not specified | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| AnnotationProcessingOptionsImpl | back to summary |
|---|---|
| public AnnotationProcessingOptionsImpl() | |
| areAllConstraintAnnotationsIgnoredFor | back to summary |
|---|---|
| private boolean areAllConstraintAnnotationsIgnoredFor(Class<?> clazz) | |
| areClassLevelConstraintsIgnoredFor | back to summary |
|---|---|
public boolean areClassLevelConstraintsIgnoredFor(Class<?> clazz)
| |
| areCrossParameterConstraintsIgnoredFor | back to summary |
|---|---|
public boolean areCrossParameterConstraintsIgnoredFor(Constrainable constrainable)
| |
| areMemberConstraintsIgnoredFor | back to summary |
|---|---|
| public boolean areMemberConstraintsIgnoredFor(Constrainable constrainable) Implements org.
| |
| areParameterConstraintsIgnoredFor | back to summary |
|---|---|
| public boolean areParameterConstraintsIgnoredFor(Constrainable constrainable, int index) Implements org.
| |
| areReturnValueConstraintsIgnoredFor | back to summary |
|---|---|
public boolean areReturnValueConstraintsIgnoredFor(Constrainable constrainable)
| |
| ignoreAnnotationConstraintForClass | back to summary |
|---|---|
| public void ignoreAnnotationConstraintForClass(Class<?> clazz, Boolean b) | |
| ignoreClassLevelConstraintAnnotations | back to summary |
|---|---|
| public void ignoreClassLevelConstraintAnnotations(Class<?> clazz, boolean b) | |
| ignoreConstraintAnnotationsForCrossParameterConstraint | back to summary |
|---|---|
| public void ignoreConstraintAnnotationsForCrossParameterConstraint(Constrainable member, Boolean b) | |
| ignoreConstraintAnnotationsForReturnValue | back to summary |
|---|---|
| public void ignoreConstraintAnnotationsForReturnValue(Constrainable member, Boolean b) | |
| ignoreConstraintAnnotationsOnMember | back to summary |
|---|---|
| public void ignoreConstraintAnnotationsOnMember(Constrainable member, Boolean b) | |
| ignoreConstraintAnnotationsOnParameter | back to summary |
|---|---|
| public void ignoreConstraintAnnotationsOnParameter(Constrainable member, int index, Boolean b) | |
| merge | back to summary |
|---|---|
| public void merge(AnnotationProcessingOptions annotationProcessingOptions) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Constrainable | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int |
| constrainable | back to summary |
|---|---|
| private final Constrainable constrainable | |
| index | back to summary |
|---|---|
| private final int index | |
| ExecutableParameterKey | back to summary |
|---|---|
| public ExecutableParameterKey(Constrainable constrainable, int index) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |