org.virtualbox_5_1
Enum MediumVariant

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

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

Virtual medium image variant. More than one flag may be set.

See Also:
Interface ID: {0282E97F-4EF3-4411-A8E0-47C384803CB6}

Enum Constant Summary
Diff
          Differencing image.
Fixed
          Fixed image.
NoCreateDir
          Special flag which suppresses automatic creation of the subdirectory.
Standard
          No particular variant requested, results in using the backend default.
VdiZeroExpand
          Fill new blocks with zeroes while expanding image file.
VmdkESX
          VMDK format variant used on ESX products.
VmdkRawDisk
          VMDK image representing a raw disk.
VmdkSplit2G
          VMDK image split in chunks of less than 2GByte.
VmdkStreamOptimized
          VMDK streamOptimized image.
 
Method Summary
static MediumVariant fromValue(long v)
           
static MediumVariant fromValue(java.lang.String v)
           
 int value()
           
static MediumVariant valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MediumVariant[] 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

Standard

public static final MediumVariant Standard
No particular variant requested, results in using the backend default.


VmdkSplit2G

public static final MediumVariant VmdkSplit2G
VMDK image split in chunks of less than 2GByte.


VmdkRawDisk

public static final MediumVariant VmdkRawDisk
VMDK image representing a raw disk.


VmdkStreamOptimized

public static final MediumVariant VmdkStreamOptimized
VMDK streamOptimized image. Special import/export format which is read-only/append-only.


VmdkESX

public static final MediumVariant VmdkESX
VMDK format variant used on ESX products.


VdiZeroExpand

public static final MediumVariant VdiZeroExpand
Fill new blocks with zeroes while expanding image file.


Fixed

public static final MediumVariant Fixed
Fixed image. Only allowed for base images.


Diff

public static final MediumVariant Diff
Differencing image. Only allowed for child images.


NoCreateDir

public static final MediumVariant NoCreateDir
Special flag which suppresses automatic creation of the subdirectory. Only used when passing the medium variant as an input parameter.

Method Detail

values

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

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

valueOf

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

fromValue

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