Package com.testdroid.api.model
Enum APICluster.State
- java.lang.Object
-
- java.lang.Enum<APICluster.State>
-
- com.testdroid.api.model.APICluster.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APICluster.State>
- Enclosing class:
- APICluster
public static enum APICluster.State extends java.lang.Enum<APICluster.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAINTENANCE
OFFLINE
ONLINE
QUIET_DOWN
RESTARTING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static APICluster.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APICluster.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFFLINE
public static final APICluster.State OFFLINE
-
ONLINE
public static final APICluster.State ONLINE
-
RESTARTING
public static final APICluster.State RESTARTING
-
QUIET_DOWN
public static final APICluster.State QUIET_DOWN
-
MAINTENANCE
public static final APICluster.State MAINTENANCE
-
-
Method Detail
-
values
public static APICluster.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (APICluster.State c : APICluster.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APICluster.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-