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