public static enum ByteBuddyAgent.AgentProvider.ForByteBuddyAgent extends Enum<ByteBuddyAgent.AgentProvider.ForByteBuddyAgent> implements ByteBuddyAgent.AgentProvider, PrivilegedAction<File>
ByteBuddyAgent.AgentProvider.ForByteBuddyAgent, ByteBuddyAgent.AgentProvider.ForExistingAgent
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
File |
resolve()
Provides an agent jar file for attachment.
|
File |
run() |
String |
toString() |
static ByteBuddyAgent.AgentProvider.ForByteBuddyAgent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteBuddyAgent.AgentProvider.ForByteBuddyAgent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteBuddyAgent.AgentProvider.ForByteBuddyAgent INSTANCE
public static ByteBuddyAgent.AgentProvider.ForByteBuddyAgent[] values()
for (ByteBuddyAgent.AgentProvider.ForByteBuddyAgent c : ByteBuddyAgent.AgentProvider.ForByteBuddyAgent.values()) System.out.println(c);
public static ByteBuddyAgent.AgentProvider.ForByteBuddyAgent 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 File resolve() throws IOException
ByteBuddyAgent.AgentProvider
resolve
in interface ByteBuddyAgent.AgentProvider
IOException
- If the agent cannot be written to disk.public File run()
run
in interface PrivilegedAction<File>
public String toString()
toString
in class Enum<ByteBuddyAgent.AgentProvider.ForByteBuddyAgent>
Copyright © 2014–2016. All rights reserved.