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