Package net.bytebuddy.build
Enum Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm
- java.lang.Object
-
- java.lang.Enum<Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm>
-
- net.bytebuddy.build.Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm>,Plugin.Engine.Target.ForFolder.Dispatcher
- Enclosing interface:
- Plugin.Engine.Target.ForFolder.Dispatcher
public static enum Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm extends java.lang.Enum<Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm> implements Plugin.Engine.Target.ForFolder.Dispatcher
A legacy dispatcher that is not capable of NIO.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.build.Plugin.Engine.Target.ForFolder.Dispatcher
Plugin.Engine.Target.ForFolder.Dispatcher.CreationAction, Plugin.Engine.Target.ForFolder.Dispatcher.ForJava7CapableVm, Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCEThe singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description privateForLegacyVm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopy(java.io.File source, java.io.File target)Copies the source file to the target location.booleanisAlive()Returnstrueif this dispatcher is alive.static Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVmvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm[] 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 (Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm c : Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Plugin.Engine.Target.ForFolder.Dispatcher.ForLegacyVm 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
-
isAlive
public boolean isAlive()
Returnstrueif this dispatcher is alive.- Specified by:
isAlivein interfacePlugin.Engine.Target.ForFolder.Dispatcher- Returns:
trueif this dispatcher is alive.
-
copy
public void copy(java.io.File source, java.io.File target)Copies the source file to the target location.- Specified by:
copyin interfacePlugin.Engine.Target.ForFolder.Dispatcher- Parameters:
source- The source file.target- The target file.
-
-