public abstract static class CronSchedule.CronScheduleMixin extends Object implements CronSchedule
CronSchedule.CronScheduleMixinIdentity.IdentityMixin| Constructor and Description |
|---|
CronSchedule.CronScheduleMixin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTaskRunning() |
long |
nextRun(long from)
Compute the next time this schedule is to be run.
|
String |
presentationString()
Return a representation of the Schedule in a human understandable format.
|
void |
taskCompletedSuccessfully()
Called directly after the
Runnable.run() method has been completed and
returned from the method normally. |
void |
taskCompletedWithException(RuntimeException ex)
Called directly after the
Runnable.run() method has been completed but
threw a RuntimeException. |
void |
taskStarting()
Called just before the
Runnable.run() method is called. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcronExpressionpublic void taskStarting()
ScheduleRunnable.run() method is called.taskStarting in interface Schedulepublic void taskCompletedSuccessfully()
ScheduleRunnable.run() method has been completed and
returned from the method normally.taskCompletedSuccessfully in interface Schedulepublic void taskCompletedWithException(RuntimeException ex)
ScheduleRunnable.run() method has been completed but
threw a RuntimeException.taskCompletedWithException in interface Schedulepublic String presentationString()
SchedulepresentationString in interface Schedulepublic boolean isTaskRunning()
isTaskRunning in interface ScheduleTask is currently running, false otherwisepublic long nextRun(long from)
Schedule