@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.TransformerDecorator.Compound extends Object implements AgentBuilder.TransformerDecorator
AgentBuilder.TransformerDecorator.Compound, AgentBuilder.TransformerDecorator.NoOp
Constructor and Description |
---|
Compound(AgentBuilder.TransformerDecorator... transformerDecorator)
Creates a new compound transformer decorator.
|
Compound(List<? extends AgentBuilder.TransformerDecorator> transformerDecorators)
Creates a new compound listener.
|
Modifier and Type | Method and Description |
---|---|
ResettableClassFileTransformer |
decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.
|
public Compound(AgentBuilder.TransformerDecorator... transformerDecorator)
transformerDecorator
- The transformer decorators to add.public Compound(List<? extends AgentBuilder.TransformerDecorator> transformerDecorators)
transformerDecorators
- The transformerDecorators to invoke.public ResettableClassFileTransformer decorate(ResettableClassFileTransformer classFileTransformer)
decorate
in interface AgentBuilder.TransformerDecorator
classFileTransformer
- The original transformer created by the agent builder.Copyright © 2014–2020. All rights reserved.