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