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