public static enum ChuckInterceptor.Period extends java.lang.Enum<ChuckInterceptor.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 ChuckInterceptor.Period |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChuckInterceptor.Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChuckInterceptor.Period ONE_HOUR
public static final ChuckInterceptor.Period ONE_DAY
public static final ChuckInterceptor.Period ONE_WEEK
public static final ChuckInterceptor.Period FOREVER
public static ChuckInterceptor.Period[] values()
for (ChuckInterceptor.Period c : ChuckInterceptor.Period.values()) System.out.println(c);
public static ChuckInterceptor.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