public static enum MetricService.Periodicity extends Enum<MetricService.Periodicity>
Modifier and Type | Method and Description |
---|---|
static MetricService.Periodicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricService.Periodicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricService.Periodicity hour
public static final MetricService.Periodicity day
public static final MetricService.Periodicity week
public static final MetricService.Periodicity month
public static final MetricService.Periodicity year
public static MetricService.Periodicity[] values()
for (MetricService.Periodicity c : MetricService.Periodicity.values()) System.out.println(c);
public static MetricService.Periodicity 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 nullCopyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.