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:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,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
- Author:
- Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
AnnotationCustomizableTypeExcludeFilter.FilterType
-
Constructor Summary
ModifierConstructorDescriptionprotected
StandardAnnotationCustomizableTypeExcludeFilter
(Class<?> testClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected final MergedAnnotation<A>
protected ComponentScan.Filter[]
protected boolean
protected boolean
Methods inherited from class org.springframework.boot.test.autoconfigure.filter.AnnotationCustomizableTypeExcludeFilter
defaultInclude, equals, exclude, hashCode, include, isTypeOrAnnotated, match, setBeanClassLoader
Methods inherited from class org.springframework.boot.context.TypeExcludeFilter
setBeanFactory
-
Constructor Details
-
StandardAnnotationCustomizableTypeExcludeFilter
-
-
Method Details
-
getAnnotation
-
hasAnnotation
protected boolean hasAnnotation()- Specified by:
hasAnnotation
in classAnnotationCustomizableTypeExcludeFilter
-
getFilters
protected ComponentScan.Filter[] getFilters(AnnotationCustomizableTypeExcludeFilter.FilterType type) - Specified by:
getFilters
in classAnnotationCustomizableTypeExcludeFilter
-
isUseDefaultFilters
protected boolean isUseDefaultFilters()- Specified by:
isUseDefaultFilters
in classAnnotationCustomizableTypeExcludeFilter
-
getDefaultIncludes
- Specified by:
getDefaultIncludes
in classAnnotationCustomizableTypeExcludeFilter
-
getComponentIncludes
- Specified by:
getComponentIncludes
in classAnnotationCustomizableTypeExcludeFilter
-
getAnnotationType
-