final class FullClassNameMatcher extends java.lang.Object implements ClassNameMatcher
ClassNameMatcher
that matches on full class names.
This object is immutable and thread-safe.
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.String> |
classesSet |
Constructor and Description |
---|
FullClassNameMatcher(java.lang.String... classes)
Constructs an object based on the specified class names.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String className)
Returns
true if the supplied class name matches this object's condition. |
public FullClassNameMatcher(java.lang.String... classes)
classes
- a list of class namespublic boolean matches(java.lang.String className)
ClassNameMatcher
true
if the supplied class name matches this object's condition.matches
in interface ClassNameMatcher
className
- fully qualified class nametrue
if the class name matches this object's condition