public enum MetricsReporting extends Enum<MetricsReporting>
Modifier and Type | Method and Description |
---|---|
static MetricsReporting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsReporting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsReporting JMX
public static final MetricsReporting CONSOLE
public static final MetricsReporting JSON_FILE
public static final MetricsReporting HADOOP2
public static MetricsReporting[] values()
for (MetricsReporting c : MetricsReporting.values()) System.out.println(c);
public static MetricsReporting 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 © 2017 The Apache Software Foundation. All rights reserved.