public static enum Storage.BusType extends Enum<Storage.BusType>
Enum Constant and Description |
---|
IDE |
SCSI |
UNRECOGNIZED |
VIRTIO |
Modifier and Type | Method and Description |
---|---|
static Storage.BusType |
fromValue(String value) |
static Storage.BusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Storage.BusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storage.BusType IDE
public static final Storage.BusType SCSI
public static final Storage.BusType VIRTIO
public static final Storage.BusType UNRECOGNIZED
public static Storage.BusType[] values()
for (Storage.BusType c : Storage.BusType.values()) System.out.println(c);
public static Storage.BusType 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 static Storage.BusType fromValue(String value)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.