public enum CloneMode extends java.lang.Enum<CloneMode>
IMachine.cloneTo(org.virtualbox_7_0.IMachine,org.virtualbox_7_0.CloneMode,List)
.
Interface ID: {A7A159FE-5096-4B8D-8C3C-D033CB0B35A8}
Enum Constant and Description |
---|
AllStates
Clone all states (including all snapshots) of the machine, regardless of the machine object used.
|
MachineAndChildStates
Clone the state of the selected machine and its child snapshots if present.
|
MachineState
Clone the state of the selected machine.
|
Modifier and Type | Method and Description |
---|---|
static CloneMode |
fromValue(long v) |
static CloneMode |
fromValue(java.lang.String v) |
int |
value() |
static CloneMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CloneMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloneMode MachineState
public static final CloneMode MachineAndChildStates
public static final CloneMode AllStates
public static CloneMode[] values()
for (CloneMode c : CloneMode.values()) System.out.println(c);
public static CloneMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static CloneMode fromValue(long v)
public static CloneMode fromValue(java.lang.String v)