Package org.apache.flink.configuration
Enum MetricOptions.JobStatusMetrics
- java.lang.Object
-
- java.lang.Enum<MetricOptions.JobStatusMetrics>
-
- org.apache.flink.configuration.MetricOptions.JobStatusMetrics
-
- All Implemented Interfaces:
Serializable
,Comparable<MetricOptions.JobStatusMetrics>
,DescribedEnum
- Enclosing class:
- MetricOptions
public static enum MetricOptions.JobStatusMetrics extends Enum<MetricOptions.JobStatusMetrics> implements DescribedEnum
Enum describing the different kinds of job status metrics.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_TIME
STATE
TOTAL_TIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
STATE
public static final MetricOptions.JobStatusMetrics STATE
-
CURRENT_TIME
public static final MetricOptions.JobStatusMetrics CURRENT_TIME
-
TOTAL_TIME
public static final MetricOptions.JobStatusMetrics TOTAL_TIME
-
-
Method Detail
-
values
public static MetricOptions.JobStatusMetrics[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MetricOptions.JobStatusMetrics c : MetricOptions.JobStatusMetrics.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetricOptions.JobStatusMetrics valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDescription
public InlineElement getDescription()
Description copied from interface:DescribedEnum
Returns the description for the enum constant.If you want to include links or code blocks, use
TextElement.wrap(InlineElement...)
to wrap multiple inline elements into a single one.- Specified by:
getDescription
in interfaceDescribedEnum
-
-