org.virtualbox_4_3
Enum ImportOptions

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

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

Import options, used with IAppliance.importMachines(List). Interface ID: {0A981523-3B20-4004-8EE3-DFD322202ACE}


Enum Constant Summary
KeepAllMACs
          Don't generate new MAC addresses of the attached network adapters.
KeepNATMACs
          Don't generate new MAC addresses of the attached network adapters when they are using NAT.
 
Method Summary
static ImportOptions fromValue(long v)
           
static ImportOptions fromValue(java.lang.String v)
           
 int value()
           
static ImportOptions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImportOptions[] 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

KeepAllMACs

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


KeepNATMACs

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

Method Detail

values

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

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

valueOf

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

fromValue

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