public enum AFilterType extends Enum<AFilterType>
@ComponentScan.AComponentScan,
AComponentScan#includeFilters(),
AComponentScan.excludeFilters(),
org.springframework.core.type.filter.TypeFilter| 枚举常量和说明 |
|---|
ANNOTATION
Filter candidates marked with a given annotation.
|
ASPECTJ
Filter candidates matching a given AspectJ type pattern expression.
|
ASSIGNABLE_TYPE
Filter candidates assignable to a given type.
|
CUSTOM
Filter candidates using a given custom
org.springframework.core.type.filter.TypeFilter implementation. |
REGEX
Filter candidates matching a given regex pattern.
|
public static final AFilterType ANNOTATION
org.springframework.core.type.filter.AnnotationTypeFilterpublic static final AFilterType ASSIGNABLE_TYPE
org.springframework.core.type.filter.AssignableTypeFilterpublic static final AFilterType ASPECTJ
org.springframework.core.type.filter.AspectJTypeFilterpublic static final AFilterType REGEX
org.springframework.core.type.filter.RegexPatternTypeFilterpublic static final AFilterType CUSTOM
org.springframework.core.type.filter.TypeFilter implementation.public static AFilterType[] values()
for (AFilterType c : AFilterType.values()) System.out.println(c);
public static AFilterType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024. All rights reserved.