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