Package com.testdroid.api.model
Enum APIAdminDevice.ComplexState
- java.lang.Object
-
- java.lang.Enum<APIAdminDevice.ComplexState>
-
- com.testdroid.api.model.APIAdminDevice.ComplexState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APIAdminDevice.ComplexState>
- Enclosing class:
- APIAdminDevice
public static enum APIAdminDevice.ComplexState extends java.lang.Enum<APIAdminDevice.ComplexState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFFLINE_CLEANING
OFFLINE_DIRTY
OFFLINE_FREE
OFFLINE_TESTING
ONLINE_CLEANING
ONLINE_DIRTY
ONLINE_FREE
ONLINE_TESTING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description APIAdminDevice.ComplexState
compute(APIAdminDevice.State state)
APIAdminDevice.ComplexState
compute(APIAdminDevice.SubState subState)
APIAdminDevice.State
getState()
APIAdminDevice.SubState
getSubState()
static APIAdminDevice.ComplexState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APIAdminDevice.ComplexState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFFLINE_CLEANING
public static final APIAdminDevice.ComplexState OFFLINE_CLEANING
-
OFFLINE_DIRTY
public static final APIAdminDevice.ComplexState OFFLINE_DIRTY
-
OFFLINE_FREE
public static final APIAdminDevice.ComplexState OFFLINE_FREE
-
OFFLINE_TESTING
public static final APIAdminDevice.ComplexState OFFLINE_TESTING
-
ONLINE_CLEANING
public static final APIAdminDevice.ComplexState ONLINE_CLEANING
-
ONLINE_DIRTY
public static final APIAdminDevice.ComplexState ONLINE_DIRTY
-
ONLINE_FREE
public static final APIAdminDevice.ComplexState ONLINE_FREE
-
ONLINE_TESTING
public static final APIAdminDevice.ComplexState ONLINE_TESTING
-
-
Method Detail
-
values
public static APIAdminDevice.ComplexState[] 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 (APIAdminDevice.ComplexState c : APIAdminDevice.ComplexState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APIAdminDevice.ComplexState 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
-
getState
public APIAdminDevice.State getState()
-
getSubState
public APIAdminDevice.SubState getSubState()
-
compute
public APIAdminDevice.ComplexState compute(APIAdminDevice.State state)
-
compute
public APIAdminDevice.ComplexState compute(APIAdminDevice.SubState subState)
-
-