Package com.testdroid.api.model
Enum APIDeviceSession.State
- java.lang.Object
-
- java.lang.Enum<APIDeviceSession.State>
-
- com.testdroid.api.model.APIDeviceSession.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<APIDeviceSession.State>
- Enclosing class:
- APIDeviceSession
public static enum APIDeviceSession.State extends java.lang.Enum<APIDeviceSession.State>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFinished()
boolean
isSettable()
static APIDeviceSession.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static APIDeviceSession.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final APIDeviceSession.State ABORTED
-
EXCLUDED
public static final APIDeviceSession.State EXCLUDED
-
FAILED
public static final APIDeviceSession.State FAILED
-
RUNNING
public static final APIDeviceSession.State RUNNING
-
SUCCEEDED
public static final APIDeviceSession.State SUCCEEDED
-
TIMEOUT
public static final APIDeviceSession.State TIMEOUT
-
WAITING
public static final APIDeviceSession.State WAITING
-
WARNING
public static final APIDeviceSession.State WARNING
-
-
Method Detail
-
values
public static APIDeviceSession.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 (APIDeviceSession.State c : APIDeviceSession.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 APIDeviceSession.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
-
isFinished
public boolean isFinished()
-
isSettable
public boolean isSettable()
-
-