public enum StorageBus extends java.lang.Enum<StorageBus>
IStorageController.getBus()
.
Interface ID: {F9510869-7D07-46BA-96A6-6728FBF4ADEE}Enum Constant and Description |
---|
Floppy |
IDE |
Null
null value.
|
PCIe |
SAS |
SATA |
SCSI |
USB |
VirtioSCSI |
Modifier and Type | Method and Description |
---|---|
static StorageBus |
fromValue(long v) |
static StorageBus |
fromValue(java.lang.String v) |
int |
value() |
static StorageBus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StorageBus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageBus Null
public static final StorageBus IDE
public static final StorageBus SATA
public static final StorageBus SCSI
public static final StorageBus Floppy
public static final StorageBus SAS
public static final StorageBus USB
public static final StorageBus PCIe
public static final StorageBus VirtioSCSI
public static StorageBus[] values()
for (StorageBus c : StorageBus.values()) System.out.println(c);
public static StorageBus 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 namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static StorageBus fromValue(long v)
public static StorageBus fromValue(java.lang.String v)