public static enum AutomaticNewsletter.FrequencyType extends Enum<AutomaticNewsletter.FrequencyType>
Enum Constant and Description |
---|
MONTH
Month frequency.
|
WEEK
Week frequency.
|
Modifier and Type | Method and Description |
---|---|
static AutomaticNewsletter.FrequencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutomaticNewsletter.FrequencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutomaticNewsletter.FrequencyType WEEK
public static final AutomaticNewsletter.FrequencyType MONTH
public static AutomaticNewsletter.FrequencyType[] values()
for (AutomaticNewsletter.FrequencyType c : AutomaticNewsletter.FrequencyType.values()) System.out.println(c);
public static AutomaticNewsletter.FrequencyType 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 null