Enum ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction
java.lang.Object
java.lang.Enum<ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction>
net.bytebuddy.dynamic.loading.ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction
- All Implemented Interfaces:
Serializable, Comparable<ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction>, java.lang.constant.Constable, PrivilegedAction<ClassLoader>
- Enclosing interface:
ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder
public static enum ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction
extends Enum<ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction>
implements PrivilegedAction<ClassLoader>
An action to create
net.bytebuddy.dynamic.loading.SimpleModuleFinder.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
INSTANCE
public static final ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction INSTANCEThe singleton instance.
-
-
Constructor Details
-
CreationAction
private CreationAction()
-
-
Method Details
-
values
public static ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction[] values()Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleFinder.CreationAction valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
run
- Specified by:
runin interfacePrivilegedAction<ClassLoader>
-