Enum StatMetric.Metric
- java.lang.Object
-
- java.lang.Enum<StatMetric.Metric>
-
- com.inductiveautomation.ignition.common.StatMetric.Metric
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StatMetric.Metric>
- Enclosing class:
- StatMetric
public static enum StatMetric.Metric extends java.lang.Enum<StatMetric.Metric>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AverageDuration
Count
LastDuration
LastUpdate
MaxDuration
MinDuration
Throughput
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getDataClass()
static StatMetric.Metric
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StatMetric.Metric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Throughput
public static final StatMetric.Metric Throughput
-
MinDuration
public static final StatMetric.Metric MinDuration
-
MaxDuration
public static final StatMetric.Metric MaxDuration
-
AverageDuration
public static final StatMetric.Metric AverageDuration
-
LastDuration
public static final StatMetric.Metric LastDuration
-
LastUpdate
public static final StatMetric.Metric LastUpdate
-
Count
public static final StatMetric.Metric Count
-
-
Method Detail
-
values
public static StatMetric.Metric[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatMetric.Metric c : StatMetric.Metric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatMetric.Metric valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDataClass
public java.lang.Class<?> getDataClass()
-
-