public enum VServerStatus extends Enum<VServerStatus>
Enum Constant and Description |
---|
BACKUP_ING |
CHANGE_TYPE |
DEPLOYING |
ERROR |
FAILOVER |
REGISTERING |
RESTORING |
RUNNING |
START_ERROR |
STARTING |
STOP_ERROR |
STOPPED |
STOPPING |
UNEXPECTED_STOP |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VServerStatus |
fromValue(String status) |
String |
toString() |
String |
value() |
static VServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VServerStatus DEPLOYING
public static final VServerStatus RUNNING
public static final VServerStatus STOPPING
public static final VServerStatus STOPPED
public static final VServerStatus STARTING
public static final VServerStatus FAILOVER
public static final VServerStatus UNEXPECTED_STOP
public static final VServerStatus RESTORING
public static final VServerStatus BACKUP_ING
public static final VServerStatus ERROR
public static final VServerStatus START_ERROR
public static final VServerStatus STOP_ERROR
public static final VServerStatus CHANGE_TYPE
public static final VServerStatus REGISTERING
public static final VServerStatus UNRECOGNIZED
public static VServerStatus[] values()
for (VServerStatus c : VServerStatus.values()) System.out.println(c);
public static VServerStatus 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<VServerStatus>
public static VServerStatus fromValue(String status)
Copyright © 2009-2013 jclouds. All Rights Reserved.