org.hibernate.validator.internal.metadata.core
Class AnnotationProcessingOptions

java.lang.Object
  extended by org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptions

public class AnnotationProcessingOptions
extends Object

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

Constructor Summary
AnnotationProcessingOptions()
           
 
Method Summary
 boolean areClassLevelConstraintAnnotationsIgnored(Class<?> clazz)
           
 boolean areConstraintAnnotationsIgnored(Class<?> clazz)
           
 boolean arePropertyLevelConstraintAnnotationsIgnored(Member member)
           
 void ignoreAnnotationConstraintForClass(Class<?> clazz, Boolean b)
           
 void ignoreClassLevelConstraintAnnotations(Class<?> clazz, boolean b)
           
 void ignorePropertyLevelConstraintAnnotationsOnMember(Member member)
           
 void merge(AnnotationProcessingOptions annotationProcessingOptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationProcessingOptions

public AnnotationProcessingOptions()
Method Detail

ignoreAnnotationConstraintForClass

public void ignoreAnnotationConstraintForClass(Class<?> clazz,
                                               Boolean b)

areConstraintAnnotationsIgnored

public boolean areConstraintAnnotationsIgnored(Class<?> clazz)

ignorePropertyLevelConstraintAnnotationsOnMember

public void ignorePropertyLevelConstraintAnnotationsOnMember(Member member)

arePropertyLevelConstraintAnnotationsIgnored

public boolean arePropertyLevelConstraintAnnotationsIgnored(Member member)

ignoreClassLevelConstraintAnnotations

public void ignoreClassLevelConstraintAnnotations(Class<?> clazz,
                                                  boolean b)

areClassLevelConstraintAnnotationsIgnored

public boolean areClassLevelConstraintAnnotationsIgnored(Class<?> clazz)

merge

public void merge(AnnotationProcessingOptions annotationProcessingOptions)


Copyright © 2012 Oracle Corporation. All Rights Reserved.