public static enum MetricRepo.MetricType extends java.lang.Enum<MetricRepo.MetricType>
| Enum Constant and Description |
|---|
JOB |
NODE |
TASK |
TASKATTEMPT |
| Modifier and Type | Method and Description |
|---|---|
static MetricRepo.MetricType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetricRepo.MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricRepo.MetricType JOB
public static final MetricRepo.MetricType TASK
public static final MetricRepo.MetricType TASKATTEMPT
public static final MetricRepo.MetricType NODE
public static MetricRepo.MetricType[] values()
for (MetricRepo.MetricType c : MetricRepo.MetricType.values()) System.out.println(c);
public static MetricRepo.MetricType 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 null