public enum MetricCategory extends Enum<MetricCategory>
Java class for MetricCategory.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MetricCategory">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Unspec"/>
<enumeration value="Msrmt"/>
<enumeration value="Clc"/>
<enumeration value="Set"/>
<enumeration value="Preset"/>
<enumeration value="Rcmm"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CALCULATION
Clc = Calculation.
|
MEASUREMENT
Msrmt = Measurement.
|
PRESETTING
Preset = Presetting.
|
RECOMMENDATION
Rcmm = Recommendation.
|
SETTING
Set = Setting.
|
UNSPECIFIED
Unspec = Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricCategory |
fromValue(String v) |
String |
value() |
static MetricCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricCategory UNSPECIFIED
public static final MetricCategory MEASUREMENT
public static final MetricCategory CALCULATION
public static final MetricCategory SETTING
public static final MetricCategory PRESETTING
public static final MetricCategory RECOMMENDATION
public static MetricCategory[] values()
for (MetricCategory c : MetricCategory.values()) System.out.println(c);
public static MetricCategory 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 value()
public static MetricCategory fromValue(String v)
Copyright © 2018. All rights reserved.