public class BasicClassFilter extends Object implements ClassFilter
Constructor and Description |
---|
BasicClassFilter()
Constructs a BasicClassFilter with given configuration.
|
BasicClassFilter(String[] includedPackages,
String[] includedClassNames)
Constructs a BasicClassFilter with standard set of configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldInstrumentClass(String className)
Should this class be included in instrumentation.
|
public BasicClassFilter()
public BasicClassFilter(String[] includedPackages, String[] includedClassNames)
includedPackages
- Name of packages whose classes should be accepted.includedClassNames
- Name of classes that should be accepted.public boolean shouldInstrumentClass(String className)
ClassFilter
shouldInstrumentClass
in interface ClassFilter
className
- The name of the class to checkCopyright © 2016 JBoss by Red Hat. All rights reserved.