public static enum AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled extends Enum<AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled> implements AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
static AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled INSTANCE
public static AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled[] values()
for (AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled c : AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled.values()) System.out.println(c);
public static AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled 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 nullpublic boolean isEnforced(String typeName, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module, @MaybeNull Class<?> classBeingRedefined)
true if a class should be scheduled for resubmission.isEnforced in interface AgentBuilder.RedefinitionStrategy.ResubmissionEnforcertypeName - The name of the instrumented class.classLoader - The class loader of the instrumented class or null if the boot loader.module - The module of the instrumented class or null if the module system is not supported.classBeingRedefined - The class to be redefined or null if the current type is loaded for the first time.true if the class should be scheduled for resubmission.Copyright © 2014–2025. All rights reserved.