Package com.testdroid.api.model
Enum APIAdminDevice.SubState
- java.lang.Object
-
- java.lang.Enum<APIAdminDevice.SubState>
-
- com.testdroid.api.model.APIAdminDevice.SubState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APIAdminDevice.SubState>
- Enclosing class:
- APIAdminDevice
public static enum APIAdminDevice.SubState extends java.lang.Enum<APIAdminDevice.SubState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static APIAdminDevice.SubState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APIAdminDevice.SubState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEANING
public static final APIAdminDevice.SubState CLEANING
-
DIRTY
public static final APIAdminDevice.SubState DIRTY
-
FREE
public static final APIAdminDevice.SubState FREE
-
TESTING
public static final APIAdminDevice.SubState TESTING
-
-
Method Detail
-
values
public static APIAdminDevice.SubState[] 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.SubState c : APIAdminDevice.SubState.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.SubState 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
-
-