public static enum TrafficCounterService.Interval extends Enum<TrafficCounterService.Interval>
Modifier and Type | Method and Description |
---|---|
static TrafficCounterService.Interval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficCounterService.Interval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficCounterService.Interval HOURLY
public static final TrafficCounterService.Interval DAILY
public static TrafficCounterService.Interval[] values()
for (TrafficCounterService.Interval c : TrafficCounterService.Interval.values()) System.out.println(c);
public static TrafficCounterService.Interval 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 © 2012–2021 Graylog, Inc.. All rights reserved.