public enum VitamMetricsReporterType extends Enum<VitamMetricsReporterType>
VitamMetrics through the VitamMetricsConfigurationImpl class.| Enum Constant and Description |
|---|
ELASTICSEARCH |
LOGBACK |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static VitamMetricsReporterType |
get(String metricReporterTypeName)
Retrieve an
VitamMetricsReporterType given a name. |
String |
getName()
Return the name of the enum as a String
|
static VitamMetricsReporterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VitamMetricsReporterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VitamMetricsReporterType ELASTICSEARCH
public static final VitamMetricsReporterType LOGBACK
public static final VitamMetricsReporterType NONE
public static VitamMetricsReporterType[] values()
for (VitamMetricsReporterType c : VitamMetricsReporterType.values()) System.out.println(c);
public static VitamMetricsReporterType 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 nullpublic String getName()
public static VitamMetricsReporterType get(String metricReporterTypeName) throws IllegalArgumentException
VitamMetricsReporterType given a name. Throws an IllegalArgumentException if the name
doesn't exists.metricReporterTypeName - IllegalArgumentExceptionCopyright © 2020 Vitam. All rights reserved.