public enum BootDevice extends Enum<BootDevice>
Modifier and Type | Method and Description |
---|---|
static BootDevice |
fromValue(String value) |
String |
value() |
static BootDevice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BootDevice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BootDevice CDROM
public static final BootDevice HD
public static final BootDevice NETWORK
public static BootDevice[] values()
for (BootDevice c : BootDevice.values()) System.out.println(c);
public static BootDevice 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 BootDevice fromValue(String value)
Copyright © 2012. All Rights Reserved.