Class AnnotationProcessingOptionsImpl
java.lang.Object
org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptionsImpl
- All Implemented Interfaces:
AnnotationProcessingOptions
An
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.- Author:
- Hardy Ferentschik
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanareClassLevelConstraintsIgnoredFor(Class<?> clazz) booleanareCrossParameterConstraintsIgnoredFor(Constrainable constrainable) booleanareMemberConstraintsIgnoredFor(Constrainable constrainable) booleanareParameterConstraintsIgnoredFor(Constrainable constrainable, int index) booleanareReturnValueConstraintsIgnoredFor(Constrainable constrainable) voidignoreAnnotationConstraintForClass(Class<?> clazz, Boolean b) voidignoreClassLevelConstraintAnnotations(Class<?> clazz, boolean b) voidvoidvoidvoidignoreConstraintAnnotationsOnParameter(Constrainable member, int index, Boolean b) voidmerge(AnnotationProcessingOptions annotationProcessingOptions)
-
Constructor Details
-
AnnotationProcessingOptionsImpl
public AnnotationProcessingOptionsImpl()
-
-
Method Details
-
areMemberConstraintsIgnoredFor
- Specified by:
areMemberConstraintsIgnoredForin interfaceAnnotationProcessingOptions
-
areReturnValueConstraintsIgnoredFor
- Specified by:
areReturnValueConstraintsIgnoredForin interfaceAnnotationProcessingOptions
-
areCrossParameterConstraintsIgnoredFor
- Specified by:
areCrossParameterConstraintsIgnoredForin interfaceAnnotationProcessingOptions
-
areParameterConstraintsIgnoredFor
- Specified by:
areParameterConstraintsIgnoredForin interfaceAnnotationProcessingOptions
-
areClassLevelConstraintsIgnoredFor
- Specified by:
areClassLevelConstraintsIgnoredForin interfaceAnnotationProcessingOptions
-
merge
- Specified by:
mergein interfaceAnnotationProcessingOptions
-
ignoreAnnotationConstraintForClass
-
ignoreConstraintAnnotationsOnMember
-
ignoreConstraintAnnotationsForReturnValue
-
ignoreConstraintAnnotationsForCrossParameterConstraint
-
ignoreConstraintAnnotationsOnParameter
-
ignoreClassLevelConstraintAnnotations
-