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