public static enum GanderInterceptor.Period extends java.lang.Enum<GanderInterceptor.Period>
| Enum Constant and Description |
|---|
FOREVER
Retain data forever.
|
ONE_DAY
Retain data for the last day.
|
ONE_HOUR
Retain data for the last hour.
|
ONE_WEEK
Retain data for the last week.
|
| Modifier and Type | Method and Description |
|---|---|
static GanderInterceptor.Period |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GanderInterceptor.Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GanderInterceptor.Period ONE_HOUR
public static final GanderInterceptor.Period ONE_DAY
public static final GanderInterceptor.Period ONE_WEEK
public static final GanderInterceptor.Period FOREVER
public static GanderInterceptor.Period[] values()
for (GanderInterceptor.Period c : GanderInterceptor.Period.values()) System.out.println(c);
public static GanderInterceptor.Period valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null