Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Installation
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Installation
- Enclosing interface:
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy
@Enhance
public static class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Installation
extends Object
Represents an installation of a resubmission strategy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AgentBuilder.InstallationListener
The installation listener to apply.private final AgentBuilder.Listener
The listener to apply.private final AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer
The resubmission enforcer to apply. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Installation
(AgentBuilder.Listener listener, AgentBuilder.InstallationListener installationListener, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer) Creates a new installation. -
Method Summary
Modifier and TypeMethodDescriptionprotected AgentBuilder.InstallationListener
Returns the installation listener to apply.protected AgentBuilder.Listener
Returns the listener to apply.Returns the resubmission enforcer to apply.
-
Field Details
-
listener
The listener to apply. -
installationListener
The installation listener to apply. -
resubmissionEnforcer
The resubmission enforcer to apply.
-
-
Constructor Details
-
Installation
protected Installation(AgentBuilder.Listener listener, AgentBuilder.InstallationListener installationListener, AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer resubmissionEnforcer) Creates a new installation.- Parameters:
listener
- The listener to apply.installationListener
- The installation listener to apply.resubmissionEnforcer
- The resubmission enforcer to apply.
-
-
Method Details
-
getListener
Returns the listener to apply.- Returns:
- The listener to apply.
-
getInstallationListener
Returns the installation listener to apply.- Returns:
- The installation listener to apply.
-
getResubmissionEnforcer
Returns the resubmission enforcer to apply.- Returns:
- The resubmission enforcer to apply.
-