|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MediumType>
org.virtualbox_6_0.MediumType
public enum MediumType
Virtual medium type. For eachIMedium
, this defines how the medium is
attached to a virtual machine (seeIMediumAttachment
) and what happens
when a snapshot (seeISnapshot
) is taken of a virtual machine which has
the medium attached. At the moment DVD and floppy media are always of type "writethrough".
Interface ID: {FE663FB5-C244-4E1B-9D81-C628B417DD04}
Enum Constant Summary | |
---|---|
Immutable
Immutable medium (attached indirectly, changes are wiped out the next time the virtual machine is started). |
|
MultiAttach
A medium which is indirectly attached, so that one base medium can be used for several VMs which have their own differencing medium to store their modifications. |
|
Normal
Normal medium (attached directly or indirectly, preserved when taking snapshots). |
|
Readonly
A readonly medium, which can of course be used by several machines. |
|
Shareable
Allow using this medium concurrently by several machines. |
|
Writethrough
Write through medium (attached directly, ignored when taking snapshots). |
Method Summary | |
---|---|
static MediumType |
fromValue(long v)
|
static MediumType |
fromValue(java.lang.String v)
|
int |
value()
|
static MediumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MediumType[] |
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 |
---|
public static final MediumType Normal
public static final MediumType Immutable
public static final MediumType Writethrough
public static final MediumType Shareable
public static final MediumType Readonly
public static final MediumType MultiAttach
Method Detail |
---|
public static MediumType[] values()
for (MediumType c : MediumType.values()) System.out.println(c);
public static MediumType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static MediumType fromValue(long v)
public static MediumType fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |