public enum NotificationPeriod extends Enum<NotificationPeriod>
Enum Constant and Description |
---|
DAILY
Daily
|
IMMEDIATE
Immediate
|
MONTHLY
Monthly
|
NEVER
Never
|
WEEKLY
Weekly
|
Modifier and Type | Method and Description |
---|---|
static NotificationPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationPeriod NEVER
public static final NotificationPeriod IMMEDIATE
public static final NotificationPeriod DAILY
public static final NotificationPeriod WEEKLY
public static final NotificationPeriod MONTHLY
public static NotificationPeriod[] values()
for (NotificationPeriod c : NotificationPeriod.values()) System.out.println(c);
public static NotificationPeriod 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 © 2019. All rights reserved.