public static enum Server.Status extends Enum<Server.Status>
Enum Constant and Description |
---|
ACTIVE |
BUILD |
DELETED |
ERROR |
HARD_REBOOT |
MIGRATING |
PASSWORD |
PAUSED |
REBOOT |
REBUILD |
RESCUE |
RESIZE |
REVERT_RESIZE |
SHELVED |
SHELVED_OFFLOADED |
SHUTOFF |
SOFT_DELETED |
STOPPED
Deprecated.
please use
Status.SHUTOFF instead. To be removed in jclouds 2.0. |
SUSPENDED |
UNKNOWN |
UNRECOGNIZED |
VERIFY_RESIZE |
Modifier and Type | Method and Description |
---|---|
static Server.Status |
fromValue(String v) |
String |
value() |
static Server.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.Status ACTIVE
public static final Server.Status BUILD
public static final Server.Status REBUILD
public static final Server.Status SUSPENDED
public static final Server.Status PAUSED
public static final Server.Status RESIZE
public static final Server.Status VERIFY_RESIZE
public static final Server.Status REVERT_RESIZE
public static final Server.Status PASSWORD
public static final Server.Status REBOOT
public static final Server.Status HARD_REBOOT
public static final Server.Status DELETED
public static final Server.Status UNKNOWN
public static final Server.Status ERROR
@Deprecated public static final Server.Status STOPPED
Status.SHUTOFF
instead. To be removed in jclouds 2.0.public static final Server.Status UNRECOGNIZED
public static final Server.Status MIGRATING
public static final Server.Status SHUTOFF
public static final Server.Status RESCUE
public static final Server.Status SOFT_DELETED
public static final Server.Status SHELVED
public static final Server.Status SHELVED_OFFLOADED
public static Server.Status[] values()
for (Server.Status c : Server.Status.values()) System.out.println(c);
public static Server.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 Server.Status fromValue(String v)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.