public enum AlarmLevels extends Enum<AlarmLevels>
| Enum Constant and Description |
|---|
critical |
distress |
normal |
severe |
warning |
watch |
| Modifier and Type | Method and Description |
|---|---|
static AlarmLevels |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmLevels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmLevels normal
public static final AlarmLevels watch
public static final AlarmLevels warning
public static final AlarmLevels distress
public static final AlarmLevels critical
public static final AlarmLevels severe
public static AlarmLevels[] values()
for (AlarmLevels c : AlarmLevels.values()) System.out.println(c);
public static AlarmLevels 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 nullCopyright © 2020 Space Applications Services. All rights reserved.