public enum AlarmClass extends Enum<AlarmClass>
Enum Constant and Description |
---|
A
A-alarms requires immediate attention, no matter time of day or day of year.
|
B
B-alarms require attention during working hours.
|
C
C-alarm indicate things that needs to be attended to during regular maintenance cycles or when spare time is
available.
|
D
D-alarms are used for notifications that indicates smaller issues, or things that can not be dealt with
by humans and will self-correct over time.
|
Modifier and Type | Method and Description |
---|---|
static AlarmClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmClass A
public static final AlarmClass B
public static final AlarmClass C
public static final AlarmClass D
public static AlarmClass[] values()
for (AlarmClass c : AlarmClass.values()) System.out.println(c);
public static AlarmClass 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 null