Package net.bytebuddy.agent.builder
Enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction
- java.lang.Object
-
- java.lang.Enum<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction>
-
- net.bytebuddy.agent.builder.ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction>
,java.security.PrivilegedAction<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory>
- Enclosing interface:
- ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
public static enum ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction extends java.lang.Enum<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction> implements java.security.PrivilegedAction<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory>
An action to create a suitable factory.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
CreationAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResettableClassFileTransformer.WithDelegation.Substitutable.Factory
run()
static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction[] 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 (ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction c : ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResettableClassFileTransformer.WithDelegation.Substitutable.Factory.CreationAction 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 ResettableClassFileTransformer.WithDelegation.Substitutable.Factory run()
- Specified by:
run
in interfacejava.security.PrivilegedAction<ResettableClassFileTransformer.WithDelegation.Substitutable.Factory>
-
-