public static enum MetricOptions.JobStatusMetrics extends Enum<MetricOptions.JobStatusMetrics> implements DescribedEnum
Enum Constant and Description |
---|
CURRENT_TIME |
STATE |
TOTAL_TIME |
Modifier and Type | Method and Description |
---|---|
InlineElement |
getDescription()
Returns the description for the enum constant.
|
static MetricOptions.JobStatusMetrics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricOptions.JobStatusMetrics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricOptions.JobStatusMetrics STATE
public static final MetricOptions.JobStatusMetrics CURRENT_TIME
public static final MetricOptions.JobStatusMetrics TOTAL_TIME
public static MetricOptions.JobStatusMetrics[] values()
for (MetricOptions.JobStatusMetrics c : MetricOptions.JobStatusMetrics.values()) System.out.println(c);
public static MetricOptions.JobStatusMetrics 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 InlineElement getDescription()
DescribedEnum
If you want to include links or code blocks, use TextElement.wrap(InlineElement...)
to wrap multiple inline elements into a single one.
getDescription
in interface DescribedEnum
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.