Class StandardAnnotationCustomizableTypeExcludeFilter<A extends Annotation>
java.lang.Object
org.springframework.boot.context.TypeExcludeFilter
org.springframework.boot.test.context.filter.annotation.AnnotationCustomizableTypeExcludeFilter
org.springframework.boot.test.context.filter.annotation.StandardAnnotationCustomizableTypeExcludeFilter<A>
- Type Parameters:
A- the annotation type
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.type.filter.TypeFilter
public abstract class StandardAnnotationCustomizableTypeExcludeFilter<A extends Annotation>
extends AnnotationCustomizableTypeExcludeFilter
AnnotationCustomizableTypeExcludeFilter that can be used to any test annotation
that uses the standard includeFilters, excludeFilters and
useDefaultFilters attributes.- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class AnnotationCustomizableTypeExcludeFilter
AnnotationCustomizableTypeExcludeFilter.FilterType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStandardAnnotationCustomizableTypeExcludeFilter(Class<?> testClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.springframework.core.annotation.MergedAnnotation<A> protected org.springframework.context.annotation.ComponentScan.Filter[]protected booleanprotected booleanMethods inherited from class AnnotationCustomizableTypeExcludeFilter
defaultInclude, equals, exclude, hashCode, include, isTypeOrAnnotated, match, setBeanClassLoaderMethods inherited from class org.springframework.boot.context.TypeExcludeFilter
setBeanFactory
-
Constructor Details
-
StandardAnnotationCustomizableTypeExcludeFilter
-
-
Method Details
-
getAnnotation
-
hasAnnotation
protected boolean hasAnnotation()- Specified by:
hasAnnotationin classAnnotationCustomizableTypeExcludeFilter
-
getFilters
protected org.springframework.context.annotation.ComponentScan.Filter[] getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType type) - Specified by:
getFiltersin classAnnotationCustomizableTypeExcludeFilter
-
isUseDefaultFilters
protected boolean isUseDefaultFilters()- Specified by:
isUseDefaultFiltersin classAnnotationCustomizableTypeExcludeFilter
-
getDefaultIncludes
- Specified by:
getDefaultIncludesin classAnnotationCustomizableTypeExcludeFilter
-
getKnownIncludes
-
getComponentIncludes
- Specified by:
getComponentIncludesin classAnnotationCustomizableTypeExcludeFilter
-
getAnnotationType
-