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