Package net.bytebuddy.agent
Enum ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
- java.lang.Object
-
- java.lang.Enum<ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction>
-
- net.bytebuddy.agent.ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction>
,java.security.PrivilegedAction<ByteBuddyAgent.AttachmentTypeEvaluator>
- Enclosing interface:
- ByteBuddyAgent.AttachmentTypeEvaluator
public static enum ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction extends java.lang.Enum<ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction> implements java.security.PrivilegedAction<ByteBuddyAgent.AttachmentTypeEvaluator>
An installation action for creating an attachment type evaluator.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
JDK_ALLOW_SELF_ATTACH
The OpenJDK's property for specifying the legality of self-attachment.
-
Constructor Summary
Constructors Modifier Constructor Description private
InstallationAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBuddyAgent.AttachmentTypeEvaluator
run()
static ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction INSTANCE
The singleton instance.
-
-
Field Detail
-
JDK_ALLOW_SELF_ATTACH
private static final java.lang.String JDK_ALLOW_SELF_ATTACH
The OpenJDK's property for specifying the legality of self-attachment.- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction c : ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
run
public ByteBuddyAgent.AttachmentTypeEvaluator run()
- Specified by:
run
in interfacejava.security.PrivilegedAction<ByteBuddyAgent.AttachmentTypeEvaluator>
-
-