public enum ScsiLunState extends Enum<ScsiLunState>
Java class for ScsiLunState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ScsiLunState">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="unknownState"/>
<enumeration value="ok"/>
<enumeration value="error"/>
<enumeration value="off"/>
<enumeration value="quiesced"/>
<enumeration value="degraded"/>
<enumeration value="lostCommunication"/>
<enumeration value="timeout"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEGRADED |
ERROR |
LOST_COMMUNICATION |
OFF |
OK |
QUIESCED |
TIMEOUT |
UNKNOWN_STATE |
| Modifier and Type | Method and Description |
|---|---|
static ScsiLunState |
fromValue(String v) |
String |
value() |
static ScsiLunState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScsiLunState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScsiLunState UNKNOWN_STATE
public static final ScsiLunState OK
public static final ScsiLunState ERROR
public static final ScsiLunState OFF
public static final ScsiLunState QUIESCED
public static final ScsiLunState DEGRADED
public static final ScsiLunState LOST_COMMUNICATION
public static final ScsiLunState TIMEOUT
public static ScsiLunState[] values()
for (ScsiLunState c : ScsiLunState.values()) System.out.println(c);
public static ScsiLunState 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 ScsiLunState fromValue(String v)
Copyright © 2018. All rights reserved.