public static enum Schedule.Type extends Enum<Schedule.Type>
| Enum Constant and Description |
|---|
CRON_EXPRESSION
A schedule that uses a cron expression to control when the job runs.
|
INTERVAL
A schedule that uses a interval to control when the job runs.
|
| Modifier and Type | Method and Description |
|---|---|
static Schedule.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schedule.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schedule.Type CRON_EXPRESSION
CronScheduleInfo,
Schedule.getCronScheduleInfo()public static final Schedule.Type INTERVAL
public static Schedule.Type[] values()
for (Schedule.Type c : Schedule.Type.values()) System.out.println(c);
public static Schedule.Type 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 © 2017 Atlassian. All rights reserved.