public enum ScsiDiskType extends Enum<ScsiDiskType>
Java class for ScsiDiskType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ScsiDiskType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="native512"/>
<enumeration value="emulated512"/>
<enumeration value="native4k"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EMULATED_512 |
NATIVE_4_K |
NATIVE_512 |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ScsiDiskType |
fromValue(String v) |
String |
value() |
static ScsiDiskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScsiDiskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScsiDiskType NATIVE_512
public static final ScsiDiskType EMULATED_512
public static final ScsiDiskType NATIVE_4_K
public static final ScsiDiskType UNKNOWN
public static ScsiDiskType[] values()
for (ScsiDiskType c : ScsiDiskType.values()) System.out.println(c);
public static ScsiDiskType 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 ScsiDiskType fromValue(String v)
Copyright © 2018. All rights reserved.