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