public interface TriggerContext
Modifier and Type | Method and Description |
---|---|
default Clock |
getClock()
Return the clock to use for trigger calculation.
|
Date |
lastActualExecutionTime()
Return the last actual execution time of the task,
or
null if not scheduled before. |
Date |
lastCompletionTime()
Return the last completion time of the task,
or
null if not scheduled before. |
Date |
lastScheduledExecutionTime()
Return the last scheduled execution time of the task,
or
null if not scheduled before. |
default Clock getClock()
TaskScheduler.getClock()
,
Clock.systemDefaultZone()
@Nullable Date lastScheduledExecutionTime()
null
if not scheduled before.@Nullable Date lastActualExecutionTime()
null
if not scheduled before.