static class SimpleScheduler.CronTrigger extends SimpleScheduler.SimpleTrigger
lastFireTime, start| Constructor and Description |
|---|
CronTrigger(String id,
ZonedDateTime start,
com.cronutils.model.Cron cron) |
| Modifier and Type | Method and Description |
|---|---|
(package private) ZonedDateTime |
evaluate(ZonedDateTime now) |
Instant |
getNextFireTime() |
Instant |
getPreviousFireTime() |
String |
toString() |
getIdpublic CronTrigger(String id, ZonedDateTime start, com.cronutils.model.Cron cron)
public Instant getNextFireTime()
null if it will not fire againpublic Instant getPreviousFireTime()
null if it has not fired yetZonedDateTime evaluate(ZonedDateTime now)
evaluate in class SimpleScheduler.SimpleTriggernull otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.