Class StandardAnnotationCustomizableTypeExcludeFilter<A extends Annotation>
java.lang.Object
org.springframework.boot.context.TypeExcludeFilter
org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
org.springframework.boot.test.autoconfigure.filter.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
- Direct Known Subclasses:
DataJdbcTypeExcludeFilter,DataJpaTypeExcludeFilter,DataLdapTypeExcludeFilter,DataMongoTypeExcludeFilter,DataNeo4jTypeExcludeFilter,DataRedisTypeExcludeFilter,GraphQlTypeExcludeFilter,JdbcTypeExcludeFilter,JooqTypeExcludeFilter,JsonTypeExcludeFilter,RestClientTypeExcludeFilter,WebFluxTypeExcludeFilter,WebMvcTypeExcludeFilter,WebServiceClientExcludeFilter,WebServiceServerTypeExcludeFilter
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:
- 2.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.test.autoconfigure.filter.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 org.springframework.boot.test.autoconfigure.filter.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
-
getComponentIncludes
- Specified by:
getComponentIncludesin classAnnotationCustomizableTypeExcludeFilter
-
getAnnotationType
-