public static enum ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar extends Enum<ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar> implements ByteBuddyAgent.AttachmentProvider
tools.jar
from a custom location set via a system property.ByteBuddyAgent.AttachmentProvider.Accessor, ByteBuddyAgent.AttachmentProvider.Compound, ByteBuddyAgent.AttachmentProvider.ForEmulatedAttachment, ByteBuddyAgent.AttachmentProvider.ForJ9Vm, ByteBuddyAgent.AttachmentProvider.ForModularizedVm, ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm, ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar
Enum Constant and Description |
---|
INSTANCE
The singelton instance.
|
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY
The property being read for locating
tools.jar . |
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.ForUserDefinedToolsJar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar INSTANCE
public static final String PROPERTY
tools.jar
.public static ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar[] values()
for (ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar c : ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar.values()) System.out.println(c);
public static ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar 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()
attempt
in interface ByteBuddyAgent.AttachmentProvider
Copyright © 2014–2021. All rights reserved.