Enum Class ByteBuddyAgent.AttachmentTypeEvaluator.Disabled

java.lang.Object
java.lang.Enum<ByteBuddyAgent.AttachmentTypeEvaluator.Disabled>
net.bytebuddy.agent.ByteBuddyAgent.AttachmentTypeEvaluator.Disabled
All Implemented Interfaces:
Serializable, Comparable<ByteBuddyAgent.AttachmentTypeEvaluator.Disabled>, Constable, ByteBuddyAgent.AttachmentTypeEvaluator
Enclosing interface:
ByteBuddyAgent.AttachmentTypeEvaluator

public static enum ByteBuddyAgent.AttachmentTypeEvaluator.Disabled extends Enum<ByteBuddyAgent.AttachmentTypeEvaluator.Disabled> implements ByteBuddyAgent.AttachmentTypeEvaluator
An attachment type evaluator that never requires external attachment.
  • Enum Constant Details

  • Constructor Details

    • Disabled

      private Disabled()
  • 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 name
      NullPointerException - if the argument is null
    • requiresExternalAttachment

      public boolean requiresExternalAttachment(String processId)
      Checks if the current VM requires external attachment for the supplied process id.
      Specified by:
      requiresExternalAttachment in interface ByteBuddyAgent.AttachmentTypeEvaluator
      Parameters:
      processId - The process id of the process to which to attach.
      Returns:
      true if the current VM requires external attachment for the supplied process.