Annotation Type TypeExcludeFilters
@Target(TYPE) @Retention(RUNTIME) @Documented public @interface TypeExcludeFilters
Annotation that can be on tests to define a set ofTypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning.- Since:
- 1.4.0
- See Also:
TypeExcludeFilter
Element Detail
value
Class<? extends org.springframework.boot.context.TypeExcludeFilter>[] value
SpecifiesTypeExcludeFilter
classes that should be applied to@SpringBootApplication
component scanning. Classes specified here can either have a no-arg constructor or accept a singleClass<?>
argument if they need access to thetestClass
.- Returns:
- the type exclude filters to apply
- See Also:
TypeExcludeFilter