Enum Class AgentBuilder.PatchMode.Handler.NoOp

java.lang.Object
java.lang.Enum<AgentBuilder.PatchMode.Handler.NoOp>
net.bytebuddy.agent.builder.AgentBuilder.PatchMode.Handler.NoOp
All Implemented Interfaces:
Serializable, Comparable<AgentBuilder.PatchMode.Handler.NoOp>, Constable, AgentBuilder.PatchMode.Handler
Enclosing interface:
AgentBuilder.PatchMode.Handler

public static enum AgentBuilder.PatchMode.Handler.NoOp extends Enum<AgentBuilder.PatchMode.Handler.NoOp> implements AgentBuilder.PatchMode.Handler
A non-operational handler.
  • Enum Constant Details

  • Constructor Details

    • NoOp

      private NoOp()
  • Method Details

    • values

      public static AgentBuilder.PatchMode.Handler.NoOp[] 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

      public static AgentBuilder.PatchMode.Handler.NoOp valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • onBeforeRegistration

      public void onBeforeRegistration(Instrumentation instrumentation)
      Invoked prior to registering a class file transformer.
      Specified by:
      onBeforeRegistration in interface AgentBuilder.PatchMode.Handler
      Parameters:
      instrumentation - The instrumentation to use.
    • onAfterRegistration

      public void onAfterRegistration(Instrumentation instrumentation)
      Invoked right after registering a class file transformer.
      Specified by:
      onAfterRegistration in interface AgentBuilder.PatchMode.Handler
      Parameters:
      instrumentation - The instrumentation to use.