public static enum AgentBuilder.ClassFileBufferStrategy.Default extends Enum<AgentBuilder.ClassFileBufferStrategy.Default> implements AgentBuilder.ClassFileBufferStrategy
AgentBuilder.ClassFileBufferStrategy.Default
Enum Constant and Description |
---|
DISCARDING
A class file buffer strategy that discards the original class file buffer.
|
RETAINING
A class file buffer strategy that retains the original class file buffer.
|
Modifier and Type | Method and Description |
---|---|
static AgentBuilder.ClassFileBufferStrategy.Default |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.ClassFileBufferStrategy.Default[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
resolve
public static final AgentBuilder.ClassFileBufferStrategy.Default RETAINING
public static final AgentBuilder.ClassFileBufferStrategy.Default DISCARDING
A class file buffer strategy that discards the original class file buffer.
Warning: This strategy discards any changes that were applied by previous Java agents.
public static AgentBuilder.ClassFileBufferStrategy.Default[] values()
for (AgentBuilder.ClassFileBufferStrategy.Default c : AgentBuilder.ClassFileBufferStrategy.Default.values()) System.out.println(c);
public static AgentBuilder.ClassFileBufferStrategy.Default 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 nullCopyright © 2014–2020. All rights reserved.