public enum ClusterStatus extends Enum<ClusterStatus>
Enum Constant and Description |
---|
ACTIVE
Server is running
|
CHECKING
Server is checking
|
CREATING
Server is creating
|
CRITICAL
Server is critical
|
DELETING
Server is deleting
|
ERROR
Failed in some conditions,eg.
|
INIT
Initialization of the server
|
RECOVERING
Server is recovering
|
RESIZING
Server is resizing
|
UPDATING
Server is updating
|
WARNING
Warning
|
Modifier and Type | Method and Description |
---|---|
static ClusterStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterStatus INIT
public static final ClusterStatus ACTIVE
public static final ClusterStatus CREATING
public static final ClusterStatus UPDATING
public static final ClusterStatus RESIZING
public static final ClusterStatus DELETING
public static final ClusterStatus CHECKING
public static final ClusterStatus RECOVERING
public static final ClusterStatus CRITICAL
public static final ClusterStatus ERROR
public static final ClusterStatus WARNING
public static ClusterStatus[] values()
for (ClusterStatus c : ClusterStatus.values()) System.out.println(c);
public static ClusterStatus 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 nullCopyright © 2017. All rights reserved.