public enum FilterType extends java.lang.Enum<FilterType>
@ComponentScan.ComponentScan,
ComponentScan.includeFilters(),
ComponentScan.excludeFilters(),
TypeFilter| Enum Constant and Description |
|---|
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
TypeFilter implementation. |
REGEX
Filter candidates matching a given regex pattern.
|
| Modifier and Type | Method and Description |
|---|---|
static FilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterType ANNOTATION
AnnotationTypeFilterpublic static final FilterType ASSIGNABLE_TYPE
AssignableTypeFilterpublic static final FilterType ASPECTJ
AspectJTypeFilterpublic static final FilterType REGEX
RegexPatternTypeFilterpublic static final FilterType CUSTOM
TypeFilter implementation.public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null