public static enum MetricDescriptor.SummaryIntervalMinutes extends Enum<MetricDescriptor.SummaryIntervalMinutes>
TimeStampedMetric
value.Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the value associated with an enumerated name.
|
static MetricDescriptor.SummaryIntervalMinutes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricDescriptor.SummaryIntervalMinutes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricDescriptor.SummaryIntervalMinutes ONE
public static final MetricDescriptor.SummaryIntervalMinutes FIVE
public static final MetricDescriptor.SummaryIntervalMinutes FIFTEEN
public static MetricDescriptor.SummaryIntervalMinutes[] values()
for (MetricDescriptor.SummaryIntervalMinutes c : MetricDescriptor.SummaryIntervalMinutes.values()) System.out.println(c);
public static MetricDescriptor.SummaryIntervalMinutes 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 int getValue()
Copyright © 2016. All Rights Reserved.