org.virtualbox_5_0
Enum CloneOptions

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

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

Clone options, used withIMachine.cloneTo(org.virtualbox_5_0.IMachine,org.virtualbox_5_0.CloneMode,List). Interface ID: {22243F8E-96AB-497C-8CF0-F40A566C630B}


Enum Constant Summary
KeepAllMACs
          Don't generate new MAC addresses of the attached network adapters.
KeepDiskNames
          Don't change the disk names.
KeepNATMACs
          Don't generate new MAC addresses of the attached network adapters when they are using NAT.
Link
          Create a clone VM where all virtual disks are linked to the original VM.
 
Method Summary
static CloneOptions fromValue(long v)
           
static CloneOptions fromValue(java.lang.String v)
           
 int value()
           
static CloneOptions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CloneOptions[] 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

Link

public static final CloneOptions Link
Create a clone VM where all virtual disks are linked to the original VM.


KeepAllMACs

public static final CloneOptions KeepAllMACs
Don't generate new MAC addresses of the attached network adapters.


KeepNATMACs

public static final CloneOptions KeepNATMACs
Don't generate new MAC addresses of the attached network adapters when they are using NAT.


KeepDiskNames

public static final CloneOptions KeepDiskNames
Don't change the disk names.

Method Detail

values

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

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

valueOf

public static CloneOptions 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 CloneOptions fromValue(long v)

fromValue

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