public enum MetricDataType extends Enum<MetricDataType>
| Enum Constant and Description |
|---|
AVAILABILITY |
COUNTER |
COUNTER_RATE |
GAUGE |
| Modifier and Type | Method and Description |
|---|---|
static MetricDataType |
fromDisplayName(String displayName) |
String |
getDisplayName() |
static MetricDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricDataType GAUGE
public static final MetricDataType AVAILABILITY
public static final MetricDataType COUNTER
public static final MetricDataType COUNTER_RATE
public static MetricDataType[] values()
for (MetricDataType c : MetricDataType.values()) System.out.println(c);
public static MetricDataType 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 getDisplayName()
public static MetricDataType fromDisplayName(String displayName)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.