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