public static final class InstrumentationConfiguration.Builder extends Object
Constructor | Description |
---|---|
Builder() |
|
Builder(InstrumentationConfiguration classLoaderConfig) |
Modifier and Type | Method | Description |
---|---|---|
InstrumentationConfiguration.Builder |
addClassNameTranslation(String fromName,
String toName) |
|
InstrumentationConfiguration.Builder |
addInstrumentedClass(String name) |
|
InstrumentationConfiguration.Builder |
addInstrumentedPackage(String packageName) |
|
InstrumentationConfiguration.Builder |
addInterceptedMethod(MethodRef methodReference) |
|
InstrumentationConfiguration |
build() |
|
InstrumentationConfiguration.Builder |
doNotAcquireClass(Class<?> clazz) |
|
InstrumentationConfiguration.Builder |
doNotAcquireClass(String className) |
|
InstrumentationConfiguration.Builder |
doNotAcquirePackage(String packageName) |
|
InstrumentationConfiguration.Builder |
doNotInstrumentClass(String className) |
|
InstrumentationConfiguration.Builder |
doNotInstrumentPackage(String packageName) |
|
InstrumentationConfiguration.Builder |
setDoNotInstrumentClassRegex(String classNameRegex) |
public final Collection<String> instrumentedPackages
public final Collection<MethodRef> interceptedMethods
public final Collection<String> classesToNotAcquire
public final Collection<String> packagesToNotAcquire
public final Collection<String> instrumentedClasses
public final Collection<String> classesToNotInstrument
public final Collection<String> packagesToNotInstrument
public String classesToNotInstrumentRegex
public Builder()
public Builder(InstrumentationConfiguration classLoaderConfig)
public InstrumentationConfiguration.Builder doNotAcquireClass(Class<?> clazz)
public InstrumentationConfiguration.Builder doNotAcquireClass(String className)
public InstrumentationConfiguration.Builder doNotAcquirePackage(String packageName)
public InstrumentationConfiguration.Builder addClassNameTranslation(String fromName, String toName)
public InstrumentationConfiguration.Builder addInterceptedMethod(MethodRef methodReference)
public InstrumentationConfiguration.Builder addInstrumentedClass(String name)
public InstrumentationConfiguration.Builder addInstrumentedPackage(String packageName)
public InstrumentationConfiguration.Builder doNotInstrumentClass(String className)
public InstrumentationConfiguration.Builder doNotInstrumentPackage(String packageName)
public InstrumentationConfiguration.Builder setDoNotInstrumentClassRegex(String classNameRegex)
public InstrumentationConfiguration build()