org.virtualbox_6_1
Enum MediumFormatCapabilities

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

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

Medium format capability flags. Interface ID: {7342BA79-7CE0-4D94-8F86-5ED5A185D9BD}


Enum Constant Summary
Asynchronous
          Supports asynchronous I/O operations for at least some configurations.
CapabilityMask
           
CreateDynamic
          Supports creating dynamically growing images, allocating space on demand.
CreateFixed
          Supports creating fixed size images, allocating all space instantly.
CreateSplit2G
          Supports creating images split in chunks of a bit less than 2 GBytes.
Differencing
          Supports being used as a format for differencing media (seeIMedium.createDiffStorage(org.virtualbox_6_1.IMedium,List)).
Discard
          The format backend supports discarding blocks.
File
          The format backend operates on files (theIMedium.getLocation()attribute of the medium specifies a file used to store medium data; for a list of supported file extensions seeIMediumFormat.describeFileExtensions(Holder,Holder)).
Preferred
          Indicates that this is a frequently used format backend.
Properties
          The format backend uses the property interface to configure the storage location and properties (theIMediumFormat.describeProperties(Holder,Holder,Holder,Holder,Holder)method is used to get access to properties supported by the given medium format).
TcpNetworking
          The format backend uses the TCP networking interface for network access.
Uuid
          Supports UUIDs as expected by VirtualBox code.
VFS
          The format backend supports virtual filesystem functionality.
 
Method Summary
static MediumFormatCapabilities fromValue(long v)
           
static MediumFormatCapabilities fromValue(java.lang.String v)
           
 int value()
           
static MediumFormatCapabilities valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MediumFormatCapabilities[] 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

Uuid

public static final MediumFormatCapabilities Uuid
Supports UUIDs as expected by VirtualBox code.


CreateFixed

public static final MediumFormatCapabilities CreateFixed
Supports creating fixed size images, allocating all space instantly.


CreateDynamic

public static final MediumFormatCapabilities CreateDynamic
Supports creating dynamically growing images, allocating space on demand.


CreateSplit2G

public static final MediumFormatCapabilities CreateSplit2G
Supports creating images split in chunks of a bit less than 2 GBytes.


Differencing

public static final MediumFormatCapabilities Differencing
Supports being used as a format for differencing media (seeIMedium.createDiffStorage(org.virtualbox_6_1.IMedium,List)).


Asynchronous

public static final MediumFormatCapabilities Asynchronous
Supports asynchronous I/O operations for at least some configurations.


File

public static final MediumFormatCapabilities File
The format backend operates on files (theIMedium.getLocation()attribute of the medium specifies a file used to store medium data; for a list of supported file extensions seeIMediumFormat.describeFileExtensions(Holder,Holder)).


Properties

public static final MediumFormatCapabilities Properties
The format backend uses the property interface to configure the storage location and properties (theIMediumFormat.describeProperties(Holder,Holder,Holder,Holder,Holder)method is used to get access to properties supported by the given medium format).


TcpNetworking

public static final MediumFormatCapabilities TcpNetworking
The format backend uses the TCP networking interface for network access.


VFS

public static final MediumFormatCapabilities VFS
The format backend supports virtual filesystem functionality.


Discard

public static final MediumFormatCapabilities Discard
The format backend supports discarding blocks.


Preferred

public static final MediumFormatCapabilities Preferred
Indicates that this is a frequently used format backend.


CapabilityMask

public static final MediumFormatCapabilities CapabilityMask
Method Detail

values

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

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

valueOf

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

fromValue

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