protected static enum AbstractMetricGroup.ChildType extends Enum<AbstractMetricGroup.ChildType>
GenericKeyMetricGroup
. `VALUE` is used to create GenericValueMetricGroup
. `GENERIC`
is used to create GenericMetricGroup
.Modifier and Type | Method and Description |
---|---|
static AbstractMetricGroup.ChildType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractMetricGroup.ChildType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractMetricGroup.ChildType KEY
public static final AbstractMetricGroup.ChildType VALUE
public static final AbstractMetricGroup.ChildType GENERIC
public static AbstractMetricGroup.ChildType[] values()
for (AbstractMetricGroup.ChildType c : AbstractMetricGroup.ChildType.values()) System.out.println(c);
public static AbstractMetricGroup.ChildType 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 nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.