static class SimpleScheduler.CronTrigger extends SimpleScheduler.SimpleTrigger
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() |
getId
public 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.SimpleTrigger
null
otherwiseCopyright © 2020 JBoss by Red Hat. All rights reserved.