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