Package | Description |
---|---|
org.springframework.scheduling.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
Modifier and Type | Method and Description |
---|---|
List<CronTask> |
ScheduledTaskRegistrar.getCronTaskList()
Get the cron tasks as an unmodifiable list of
CronTask objects. |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTaskRegistrar.addCronTask(CronTask task)
Add a
CronTask . |
ScheduledTask |
ScheduledTaskRegistrar.scheduleCronTask(CronTask task)
Schedule the specified cron task, either right away if possible
or on initialization of the scheduler.
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTaskRegistrar.setCronTasksList(List<CronTask> cronTasks)
Specify triggered tasks as a list of
CronTask objects. |