public enum ExecutionPolicy extends java.lang.Enum<ExecutionPolicy>
EVERY_DAY
and set NotificationConfiguration.numberOfTotalViews
to 1.Enum Constant and Description |
---|
ALWAYS
The notification should be shown always when API gets called.
|
EVERY_DAY
The notification should be shown on every day.
|
EVERY_FIRST_OF_MONTH
The notification should be shown on 1st of every month.
|
EVERY_MONDAY
The notification should be shown on every Monday.
|
EVERY_SUNDAY
The notification should be shown on every Sunday.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionPolicy ALWAYS
public static final ExecutionPolicy EVERY_DAY
public static final ExecutionPolicy EVERY_MONDAY
public static final ExecutionPolicy EVERY_SUNDAY
public static final ExecutionPolicy EVERY_FIRST_OF_MONTH
public static ExecutionPolicy[] values()
for (ExecutionPolicy c : ExecutionPolicy.values()) System.out.println(c);
public static ExecutionPolicy 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