public static enum ByteBuddyAgent.AttachmentTypeEvaluator.Disabled extends Enum<ByteBuddyAgent.AttachmentTypeEvaluator.Disabled> implements ByteBuddyAgent.AttachmentTypeEvaluator
ByteBuddyAgent.AttachmentTypeEvaluator.Disabled, ByteBuddyAgent.AttachmentTypeEvaluator.ForJava9CapableVm, ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
requiresExternalAttachment(String processId)
Checks if the current VM requires external attachment for the supplied process id.
|
static ByteBuddyAgent.AttachmentTypeEvaluator.Disabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AttachmentTypeEvaluator.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AttachmentTypeEvaluator.Disabled INSTANCE
public static ByteBuddyAgent.AttachmentTypeEvaluator.Disabled[] values()
for (ByteBuddyAgent.AttachmentTypeEvaluator.Disabled c : ByteBuddyAgent.AttachmentTypeEvaluator.Disabled.values()) System.out.println(c);
public static ByteBuddyAgent.AttachmentTypeEvaluator.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 requiresExternalAttachment(String processId)
requiresExternalAttachment
in interface ByteBuddyAgent.AttachmentTypeEvaluator
processId
- The process id of the process to which to attach.true
if the current VM requires external attachment for the supplied process.Copyright © 2014–2021. All rights reserved.