public static enum MetricDescriptor.Formatter extends Enum<MetricDescriptor.Formatter>
Modifier and Type | Method and Description |
---|---|
static MetricDescriptor.Formatter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricDescriptor.Formatter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricDescriptor.Formatter COUNT
public static final MetricDescriptor.Formatter DURATION
public static final MetricDescriptor.Formatter DATA_SIZE
public static MetricDescriptor.Formatter[] values()
for (MetricDescriptor.Formatter c : MetricDescriptor.Formatter.values()) System.out.println(c);
public static MetricDescriptor.Formatter 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 © 2015 Apache NiFi Project. All rights reserved.