public enum VirtualDiskMode extends Enum<VirtualDiskMode>
Java class for VirtualDiskMode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VirtualDiskMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="persistent"/>
<enumeration value="nonpersistent"/>
<enumeration value="undoable"/>
<enumeration value="independent_persistent"/>
<enumeration value="independent_nonpersistent"/>
<enumeration value="append"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
APPEND |
INDEPENDENT_NONPERSISTENT |
INDEPENDENT_PERSISTENT |
NONPERSISTENT |
PERSISTENT |
UNDOABLE |
| Modifier and Type | Method and Description |
|---|---|
static VirtualDiskMode |
fromValue(String v) |
String |
value() |
static VirtualDiskMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualDiskMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualDiskMode PERSISTENT
public static final VirtualDiskMode NONPERSISTENT
public static final VirtualDiskMode UNDOABLE
public static final VirtualDiskMode INDEPENDENT_PERSISTENT
public static final VirtualDiskMode INDEPENDENT_NONPERSISTENT
public static final VirtualDiskMode APPEND
public static VirtualDiskMode[] values()
for (VirtualDiskMode c : VirtualDiskMode.values()) System.out.println(c);
public static VirtualDiskMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static VirtualDiskMode fromValue(String v)
Copyright © 2018. All rights reserved.