public enum MetricStatisticType extends Enum<MetricStatisticType>
Enum Constant and Description |
---|
AVERAGE
Enum value Average.
|
MAX
Enum value Max.
|
MIN
Enum value Min.
|
SUM
Enum value Sum.
|
Modifier and Type | Method and Description |
---|---|
static MetricStatisticType |
fromString(String value)
Parses a serialized value to a MetricStatisticType instance.
|
String |
toString() |
static MetricStatisticType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricStatisticType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricStatisticType AVERAGE
public static final MetricStatisticType MIN
public static final MetricStatisticType MAX
public static final MetricStatisticType SUM
public static MetricStatisticType[] values()
for (MetricStatisticType c : MetricStatisticType.values()) System.out.println(c);
public static MetricStatisticType 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 static MetricStatisticType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<MetricStatisticType>
Copyright © 2019. All rights reserved.