@API(value=Experimental) public interface ClassNameFilter extends DiscoveryFilter<String>
DiscoveryFilter that is applied to the name of a Class.includeClassNamePatterns(java.lang.String...)| Modifier and Type | Field and Description |
|---|---|
static String |
STANDARD_INCLUDE_PATTERN |
| Modifier and Type | Method and Description |
|---|---|
static ClassNameFilter |
includeClassNamePattern(String pattern)
Deprecated.
This method will be removed in 5.0 M4; use
includeClassNamePatterns(java.lang.String...) instead. |
static ClassNameFilter |
includeClassNamePatterns(String... patterns)
Create a new include
ClassNameFilter based on the
supplied patterns. |
adaptFilter, apply, composeFilters, composeFilters, toPredicatestatic final String STANDARD_INCLUDE_PATTERN
@Deprecated static ClassNameFilter includeClassNamePattern(String pattern)
includeClassNamePatterns(java.lang.String...) instead.ClassNameFilter based on the supplied
pattern.
If the fully qualified name of a class matches against the pattern, the class will be included in the result set.
pattern - a regular expression to match against fully qualified
class names; never null or blankClass.getName()static ClassNameFilter includeClassNamePatterns(String... patterns)
ClassNameFilter based on the
supplied patterns.
The patterns are combined using OR semantics, i.e. if the fully qualified name of a class matches against at least one of the patterns, the class will be included in the result set.
patterns - regular expressions to match against fully qualified
class names; never null, empty, or containing nullClass.getName()