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