public enum FilterType extends 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(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
AnnotationTypeFilter
public static final FilterType ASSIGNABLE_TYPE
AssignableTypeFilter
public static final FilterType ASPECTJ
AspectJTypeFilter
public static final FilterType REGEX
RegexPatternTypeFilter
public static final FilterType CUSTOM
TypeFilter
implementation.public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null