java.io.Serializable, java.lang.Comparable<DefaultMetricsFactory>@Private public enum DefaultMetricsFactory extends java.lang.Enum<DefaultMetricsFactory>
| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
static MutableMetricsFactory |
getAnnotatedMetricsFactory() |
|
<T> T |
getInstance(java.lang.Class<T> cls) |
|
void |
setInstance(MutableMetricsFactory factory) |
|
static DefaultMetricsFactory |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DefaultMetricsFactory[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultMetricsFactory INSTANCE
public static DefaultMetricsFactory[] values()
for (DefaultMetricsFactory c : DefaultMetricsFactory.values()) System.out.println(c);
public static DefaultMetricsFactory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MutableMetricsFactory getAnnotatedMetricsFactory()
public <T> T getInstance(java.lang.Class<T> cls)
public void setInstance(MutableMetricsFactory factory)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.