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.
|
ASSIGNABLE_TYPE
Filter candidates assignable to a given type.
|
CUSTOM
Filter candidates using a given custom
TypeFilter implementation |
| 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 CUSTOM
TypeFilter implementationpublic 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