Uses of Class
org.springframework.scheduling.support.CronTrigger
Packages that use CronTrigger
Package
Description
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Generic support classes for scheduling.
-
Uses of CronTrigger in org.springframework.scheduling.config
Constructors in org.springframework.scheduling.config with parameters of type CronTriggerModifierConstructorDescriptionCronTask
(Runnable runnable, CronTrigger cronTrigger) Create a newCronTask
. -
Uses of CronTrigger in org.springframework.scheduling.support
Methods in org.springframework.scheduling.support that return CronTriggerModifier and TypeMethodDescriptionstatic CronTrigger
CronTrigger.forFixedExecution
(String expression) Create aCronTrigger
for fixed execution, to be rescheduled after every task based on the last scheduled time.static CronTrigger
CronTrigger.forLenientExecution
(String expression) Create aCronTrigger
for lenient execution, to be rescheduled after every task based on the completion time.static CronTrigger
CronTrigger.resumeFixedExecution
(String expression, Instant resumptionTimestamp) Create aCronTrigger
for fixed execution, to be rescheduled after every task based on the last scheduled time.static CronTrigger
CronTrigger.resumeLenientExecution
(String expression, Instant resumptionTimestamp) Create aCronTrigger
for lenient execution, to be rescheduled after every task based on the completion time.