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