public static enum Alarm.Type extends Enum<Alarm.Type>
Enum Constant and Description |
---|
COMBINATION |
THRESHOLD |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Alarm.Type |
fromValue(String type) |
String |
toString() |
String |
value() |
static Alarm.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alarm.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alarm.Type THRESHOLD
public static final Alarm.Type COMBINATION
public static final Alarm.Type UNRECOGNIZED
public static Alarm.Type[] values()
for (Alarm.Type c : Alarm.Type.values()) System.out.println(c);
public static Alarm.Type 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 value()
public String toString()
toString
in class Enum<Alarm.Type>
public static Alarm.Type fromValue(String type)
Copyright © 2017. All rights reserved.