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