public interface MethodValidationExcludeFilter
FilteredMethodValidationPostProcessor| Modifier and Type | Method and Description |
|---|---|
static MethodValidationExcludeFilter |
byAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Factory method to create a
MethodValidationExcludeFilter that excludes
classes by annotation found using an inherited annotations search strategy. |
static MethodValidationExcludeFilter |
byAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
org.springframework.core.annotation.MergedAnnotations.SearchStrategy searchStrategy)
Factory method to create a
MethodValidationExcludeFilter that excludes
classes by annotation found using the given search strategy. |
boolean |
isExcluded(java.lang.Class<?> type)
Evaluate whether to exclude the given
type from method validation. |
boolean isExcluded(java.lang.Class<?> type)
type from method validation.type - the type to evaluatetrue to exclude the type from method validation, otherwise
false.static MethodValidationExcludeFilter byAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
MethodValidationExcludeFilter that excludes
classes by annotation found using an inherited annotations search strategy.annotationType - the annotation to checkMethodValidationExcludeFilter instancestatic MethodValidationExcludeFilter byAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, org.springframework.core.annotation.MergedAnnotations.SearchStrategy searchStrategy)
MethodValidationExcludeFilter that excludes
classes by annotation found using the given search strategy.annotationType - the annotation to checksearchStrategy - the annotation search strategyMethodValidationExcludeFilter instance