Package net.bytebuddy.agent.builder
Enum Class AgentBuilder.ClassFileBufferStrategy.Default
java.lang.Object
java.lang.Enum<AgentBuilder.ClassFileBufferStrategy.Default>
net.bytebuddy.agent.builder.AgentBuilder.ClassFileBufferStrategy.Default
- All Implemented Interfaces:
Serializable
,Comparable<AgentBuilder.ClassFileBufferStrategy.Default>
,Constable
,AgentBuilder.ClassFileBufferStrategy
- Enclosing interface:
- AgentBuilder.ClassFileBufferStrategy
public static enum AgentBuilder.ClassFileBufferStrategy.Default
extends Enum<AgentBuilder.ClassFileBufferStrategy.Default>
implements AgentBuilder.ClassFileBufferStrategy
An implementation of default class file buffer strategy.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.ClassFileBufferStrategy
AgentBuilder.ClassFileBufferStrategy.Default
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA class file buffer strategy that discards the original class file buffer.A class file buffer strategy that retains the original class file buffer. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.bytebuddy.agent.builder.AgentBuilder.ClassFileBufferStrategy
resolve, typePool
-
Enum Constant Details
-
RETAINING
A class file buffer strategy that retains the original class file buffer. -
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.
-
-
Constructor Details
-
Default
private Default()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-