Package net.bytebuddy.agent.builder
Enum Class AgentBuilder.Default.WarmupStrategy.NoOp
java.lang.Object
java.lang.Enum<AgentBuilder.Default.WarmupStrategy.NoOp>
net.bytebuddy.agent.builder.AgentBuilder.Default.WarmupStrategy.NoOp
- All Implemented Interfaces:
Serializable
,Comparable<AgentBuilder.Default.WarmupStrategy.NoOp>
,Constable
,AgentBuilder.Default.WarmupStrategy
- Enclosing interface:
- AgentBuilder.Default.WarmupStrategy
public static enum AgentBuilder.Default.WarmupStrategy.NoOp
extends Enum<AgentBuilder.Default.WarmupStrategy.NoOp>
implements AgentBuilder.Default.WarmupStrategy
A non-operational warmup 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.Default.WarmupStrategy
AgentBuilder.Default.WarmupStrategy.Enabled, AgentBuilder.Default.WarmupStrategy.NoOp
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.Returns 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.with
(Collection<Class<?>> types) Adds the provided types to this warmup strategy.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoOp
private NoOp()
-
-
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
-
apply
public void apply(ResettableClassFileTransformer classFileTransformer, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.CircularityLock circularityLock, AgentBuilder.InstallationListener listener) Applies this warm up strategy.- Specified by:
apply
in interfaceAgentBuilder.Default.WarmupStrategy
- Parameters:
classFileTransformer
- The class file transformer to warm up.locationStrategy
- The location strategy to use.redefinitionStrategy
- The redefinition strategy being used.circularityLock
- The circularity lock to use.listener
- The listener to notify over warmup events.
-
with
Adds the provided types to this warmup strategy.- Specified by:
with
in interfaceAgentBuilder.Default.WarmupStrategy
- Parameters:
types
- The types to add.- Returns:
- An appropriate warmup strategy.
-