org.virtualbox_4_3
Enum CloneMode

java.lang.Object
  extended by java.lang.Enum<CloneMode>
      extended by org.virtualbox_4_3.CloneMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CloneMode>

public enum CloneMode
extends java.lang.Enum<CloneMode>

Clone mode, used with IMachine.cloneTo(org.virtualbox_4_3.IMachine,org.virtualbox_4_3.CloneMode,List). Interface ID: {A7A159FE-5096-4B8D-8C3C-D033CB0B35A8}


Enum Constant Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MachineState

public static final CloneMode MachineState
Clone the state of the selected machine.


MachineAndChildStates

public static final CloneMode MachineAndChildStates
Clone the state of the selected machine and its child snapshots if present.


AllStates

public static final CloneMode AllStates
Clone all states (including all snapshots) of the machine, regardless of the machine object used.

Method Detail

values

public static CloneMode[] 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 (CloneMode c : CloneMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CloneMode 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 name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static CloneMode fromValue(long v)

fromValue

public static CloneMode fromValue(java.lang.String v)