public enum Status extends Enum<Status>
Enum Constant and Description |
---|
DEPLOYED |
OFF
|
ON
The
VApp or Vm is powered on |
RESOLVED
|
SUSPENDED
The
VApp or Vm is suspended. |
UNRECOGNIZED |
UNRESOLVED
|
Modifier and Type | Method and Description |
---|---|
static Status |
fromValue(int v) |
static Status |
fromValue(String status) |
String |
value() |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status UNRESOLVED
public static final Status RESOLVED
public static final Status OFF
public static final Status UNRECOGNIZED
public static final Status DEPLOYED
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 Status fromValue(int v)
Copyright © 2009-2012 jclouds. All Rights Reserved.