public enum DeviceAlerts extends Enum<DeviceAlerts>
| Enum Constant and Description |
|---|
DEVICE_OFFLINE |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlertId(String name) |
String |
getDescription() |
String |
getId() |
Alert |
newAlert(String name) |
static DeviceAlerts |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceAlerts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceAlerts DEVICE_OFFLINE
public static DeviceAlerts[] values()
for (DeviceAlerts c : DeviceAlerts.values()) System.out.println(c);
public static DeviceAlerts valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getId()
public String getDescription()
Copyright © 2023 LSST. All rights reserved.