public enum AlarmType extends Enum<AlarmType>
| Enum Constant and Description |
|---|
AT_ONCE |
AT_ONCE_WITH_NORMAL |
MULTI_NOTICE_WITH_NORMAL |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlarmType() |
static AlarmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmType AT_ONCE
public static final AlarmType AT_ONCE_WITH_NORMAL
public static final AlarmType MULTI_NOTICE_WITH_NORMAL
public static AlarmType[] values()
for (AlarmType c : AlarmType.values()) System.out.println(c);
public static AlarmType 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 getAlarmType()
Copyright © 2023. All rights reserved.