public enum InfoInterval extends java.lang.Enum<InfoInterval>
| Enum Constant and Description |
|---|
ONE_MONTH |
SIX_MONTHS |
THREE_MONTHS |
| Modifier and Type | Method and Description |
|---|---|
static InfoInterval |
findByName(java.lang.String name) |
static InfoInterval |
getByName(java.lang.String name) |
java.lang.Integer |
getCount() |
java.lang.String |
getInterval() |
static InfoInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InfoInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoInterval ONE_MONTH
public static final InfoInterval THREE_MONTHS
public static final InfoInterval SIX_MONTHS
public static InfoInterval[] values()
for (InfoInterval c : InfoInterval.values()) System.out.println(c);
public static InfoInterval 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 nullpublic java.lang.String getInterval()
public java.lang.Integer getCount()
public static InfoInterval getByName(java.lang.String name)
public static InfoInterval findByName(java.lang.String name)