public static enum VirtualGuest.State extends Enum<VirtualGuest.State>
Enum Constant and Description |
---|
HALTED |
PAUSED |
RUNNING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VirtualGuest.State |
fromValue(String state) |
String |
toString() |
static VirtualGuest.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualGuest.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualGuest.State HALTED
public static final VirtualGuest.State PAUSED
public static final VirtualGuest.State RUNNING
public static final VirtualGuest.State UNRECOGNIZED
public static VirtualGuest.State[] values()
for (VirtualGuest.State c : VirtualGuest.State.values()) System.out.println(c);
public static VirtualGuest.State 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 toString()
toString
in class Enum<VirtualGuest.State>
public static VirtualGuest.State fromValue(String state)
Copyright © 2009-2013 jclouds. All Rights Reserved.