接口 TriggerContext
- 所有已知实现类:
SimpleTriggerContext
public interface TriggerContext
Context object encapsulating last execution times and last completion time of a given task.- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Date
lastActualExecutionTime()
Return the last actual execution time of the task, ornull
if not scheduled before.Date
lastCompletionTime()
Return the last completion time of the task, ornull
if not scheduled before.Date
lastScheduledExecutionTime()
Return the last scheduled execution time of the task, ornull
if not scheduled before.
方法详细资料
lastScheduledExecutionTime
@Nullable Date lastScheduledExecutionTime()
Return the last scheduled execution time of the task, ornull
if not scheduled before.
lastActualExecutionTime
@Nullable Date lastActualExecutionTime()
Return the last actual execution time of the task, ornull
if not scheduled before.
lastCompletionTime
@Nullable Date lastCompletionTime()
Return the last completion time of the task, ornull
if not scheduled before.