Enum Constant and Description |
---|
DEVICE_DISCONNECTED |
DOOR_OPEN_DELAY |
TEMPERATURE |
THIEF_FINGER |
Modifier and Type | Method and Description |
---|---|
static AlertType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertType DEVICE_DISCONNECTED
public static final AlertType DOOR_OPEN_DELAY
public static final AlertType TEMPERATURE
public static final AlertType THIEF_FINGER
public static AlertType[] values()
for (AlertType c : AlertType.values()) System.out.println(c);
public static AlertType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null