public static enum AgentBuilder.PatchMode extends Enum<AgentBuilder.PatchMode>
ResettableClassFileTransformer
resolves the transformer exchange.Modifier and Type | Class and Description |
---|---|
protected static interface |
AgentBuilder.PatchMode.Handler
A handler to allow for callbacks prior and after registering a
ClassFileTransformer . |
Enum Constant and Description |
---|
GAP
Allows for a short period where neither class file transformer is registered.
|
OVERLAP
Allows for a short period where both class file transformer are registered.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AgentBuilder.PatchMode.Handler |
toHandler(ResettableClassFileTransformer classFileTransformer)
Resolves this strategy to a handler.
|
static AgentBuilder.PatchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.PatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.PatchMode GAP
public static final AgentBuilder.PatchMode OVERLAP
public static AgentBuilder.PatchMode[] values()
for (AgentBuilder.PatchMode c : AgentBuilder.PatchMode.values()) System.out.println(c);
public static AgentBuilder.PatchMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected abstract AgentBuilder.PatchMode.Handler toHandler(ResettableClassFileTransformer classFileTransformer)
classFileTransformer
- The class file transformer to deregister.Copyright © 2014–2023. All rights reserved.