public enum DemoState extends Enum<DemoState>
| Enum Constant and Description |
|---|
ALARM
The ALARM AlertState signifies that a given quantity has reached
the alarm level.
|
NOMINAL
The NOMINAL AlertState signifies that a given quantity has gone back
within acceptable limits.
|
WARNING
The WARNING AlertState signifies that a given quantity has reached
the warning level.
|
| Modifier and Type | Method and Description |
|---|---|
static DemoState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DemoState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DemoState NOMINAL
public static final DemoState WARNING
public static final DemoState ALARM
public static DemoState[] values()
for (DemoState c : DemoState.values()) System.out.println(c);
public static DemoState 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 © 2023 LSST. All rights reserved.