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