public static enum ByteBuddyAgent.AttachmentProvider.ForToolsJarVm extends Enum<ByteBuddyAgent.AttachmentProvider.ForToolsJarVm> implements ByteBuddyAgent.AttachmentProvider
ByteBuddyAgent.AttachmentProvider.Accessor, ByteBuddyAgent.AttachmentProvider.Compound, ByteBuddyAgent.AttachmentProvider.ForJ9Vm, ByteBuddyAgent.AttachmentProvider.ForJigsawVm, ByteBuddyAgent.AttachmentProvider.ForToolsJarVm, ByteBuddyAgent.AttachmentProvider.ForUnixHotSpotVm| Enum Constant and Description |
|---|
JDK_ROOT
An attachment provider that locates the tools.jar from a Java installation directory.
|
JVM_ROOT
An attachment provider that locates the tools.jar from a Java home directory.
|
MACINTOSH
An attachment provider that locates the tools.jar as it is set for several JVM
installations on Apple Macintosh computers.
|
DEFAULT| Modifier and Type | Method and Description |
|---|---|
ByteBuddyAgent.AttachmentProvider.Accessor |
attempt()
Attempts the creation of an accessor for a specific JVM's attachment API.
|
static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AttachmentProvider.ForToolsJarVm JVM_ROOT
public static final ByteBuddyAgent.AttachmentProvider.ForToolsJarVm JDK_ROOT
public static final ByteBuddyAgent.AttachmentProvider.ForToolsJarVm MACINTOSH
public static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm[] values()
for (ByteBuddyAgent.AttachmentProvider.ForToolsJarVm c : ByteBuddyAgent.AttachmentProvider.ForToolsJarVm.values()) System.out.println(c);
public static ByteBuddyAgent.AttachmentProvider.ForToolsJarVm 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 ByteBuddyAgent.AttachmentProvider.Accessor attempt()
ByteBuddyAgent.AttachmentProviderattempt in interface ByteBuddyAgent.AttachmentProviderCopyright © 2014–2018. All rights reserved.