java.lang.Object | |
↳ | org.springframework.scheduling.support.CronTrigger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Build a
CronTrigger from the pattern provided in the default time zone. | |||||||||||
Build a
CronTrigger from the pattern provided. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine the next execution time according to the given trigger context.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.scheduling.Trigger
|
Build a CronTrigger
from the pattern provided in the default time zone.
cronExpression | a space-separated list of time fields, following cron expression conventions |
---|
Build a CronTrigger
from the pattern provided.
cronExpression | a space-separated list of time fields, following cron expression conventions |
---|---|
timeZone | a time zone in which the trigger times will be generated |
Determine the next execution time according to the given trigger context.
triggerContext | context object encapsulating last execution times and last completion time |
---|
null
if the trigger won't fire anymore