Package org.cyclos.model.access.devices
Enum DeviceActivationMode
- java.lang.Object
-
- java.lang.Enum<DeviceActivationMode>
-
- org.cyclos.model.access.devices.DeviceActivationMode
-
- All Implemented Interfaces:
Serializable,Comparable<DeviceActivationMode>
public enum DeviceActivationMode extends Enum<DeviceActivationMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDOPTIONALREQUIREDREQUIRED_NO_MEDIUMSREQUIRED_WITH_DEVICE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeviceActivationModevalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceActivationMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final DeviceActivationMode DISABLED
-
OPTIONAL
public static final DeviceActivationMode OPTIONAL
-
REQUIRED
public static final DeviceActivationMode REQUIRED
-
REQUIRED_NO_MEDIUMS
public static final DeviceActivationMode REQUIRED_NO_MEDIUMS
-
REQUIRED_WITH_DEVICE
public static final DeviceActivationMode REQUIRED_WITH_DEVICE
-
-
Method Detail
-
values
public static DeviceActivationMode[] 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 (DeviceActivationMode c : DeviceActivationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceActivationMode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-