类 TestTypeExcludeFilter
java.lang.Object
cn.taketoday.context.annotation.config.TypeExcludeFilter
cn.taketoday.framework.test.context.filter.TestTypeExcludeFilter
- 所有已实现的接口:
cn.taketoday.beans.factory.Aware,cn.taketoday.beans.factory.BeanFactoryAware,cn.taketoday.core.type.filter.TypeFilter
class TestTypeExcludeFilter
extends cn.taketoday.context.annotation.config.TypeExcludeFilter
TypeExcludeFilter to exclude classes annotated with
@TestComponent as well as inner-classes of tests.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Andy Wilkinson, Harry Yang
-
字段概要
字段修饰符和类型字段说明private static final Stringprivate static final String[]private static final TestTypeExcludeFilterprivate static final String[] -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleaninthashCode()private booleanisTestClass(cn.taketoday.core.type.classreading.MetadataReader metadataReader) private booleanisTestConfiguration(cn.taketoday.core.type.classreading.MetadataReader metadataReader) booleanmatch(cn.taketoday.core.type.classreading.MetadataReader metadataReader, cn.taketoday.core.type.classreading.MetadataReaderFactory metadataReaderFactory) (专用程序包) static voidregisterWith(cn.taketoday.beans.factory.config.ConfigurableBeanFactory beanFactory) 从类继承的方法 cn.taketoday.context.annotation.config.TypeExcludeFilter
setBeanFactory
-
字段详细资料
-
BEAN_NAME
-
CLASS_ANNOTATIONS
-
METHOD_ANNOTATIONS
-
INSTANCE
-
-
构造器详细资料
-
TestTypeExcludeFilter
TestTypeExcludeFilter()
-
-
方法详细资料
-
match
public boolean match(cn.taketoday.core.type.classreading.MetadataReader metadataReader, cn.taketoday.core.type.classreading.MetadataReaderFactory metadataReaderFactory) throws IOException - 指定者:
match在接口中cn.taketoday.core.type.filter.TypeFilter- 覆盖:
match在类中cn.taketoday.context.annotation.config.TypeExcludeFilter- 抛出:
IOException
-
equals
- 覆盖:
equals在类中cn.taketoday.context.annotation.config.TypeExcludeFilter
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中cn.taketoday.context.annotation.config.TypeExcludeFilter
-
isTestConfiguration
private boolean isTestConfiguration(cn.taketoday.core.type.classreading.MetadataReader metadataReader) -
isTestClass
private boolean isTestClass(cn.taketoday.core.type.classreading.MetadataReader metadataReader) -
registerWith
static void registerWith(cn.taketoday.beans.factory.config.ConfigurableBeanFactory beanFactory)
-