public static enum MetricsUtils.METRIC_TYPE extends Enum<MetricsUtils.METRIC_TYPE>
Modifier and Type | Method and Description |
---|---|
static MetricsUtils.METRIC_TYPE |
fromString(String text) |
static MetricsUtils.METRIC_TYPE |
get(int id) |
String |
getText() |
static MetricsUtils.METRIC_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsUtils.METRIC_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsUtils.METRIC_TYPE NONE
public static final MetricsUtils.METRIC_TYPE DOUBLE
public static final MetricsUtils.METRIC_TYPE BINARY
public static final MetricsUtils.METRIC_TYPE COUNTER
public static final MetricsUtils.METRIC_TYPE GPS
public static MetricsUtils.METRIC_TYPE[] values()
for (MetricsUtils.METRIC_TYPE c : MetricsUtils.METRIC_TYPE.values()) System.out.println(c);
public static MetricsUtils.METRIC_TYPE 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 MetricsUtils.METRIC_TYPE get(int id)
public String getText()
public static MetricsUtils.METRIC_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.