Spring Framework

org.springframework.scheduling
Interface TriggerContext

All Known Implementing Classes:
SimpleTriggerContext

public interface TriggerContext

Context object encapsulating last execution times and last completion time of a given task.

Since:
3.0
Author:
Juergen Hoeller

Method Summary
 java.util.Date lastActualExecutionTime()
          Return the last actual execution time of the task, or null if not scheduled before.
 java.util.Date lastCompletionTime()
          Return the last completion time of the task, or null if not scheduled before.
 java.util.Date lastScheduledExecutionTime()
          Return the last scheduled execution time of the task, or null if not scheduled before.
 

Method Detail

lastScheduledExecutionTime

java.util.Date lastScheduledExecutionTime()
Return the last scheduled execution time of the task, or null if not scheduled before.


lastActualExecutionTime

java.util.Date lastActualExecutionTime()
Return the last actual execution time of the task, or null if not scheduled before.


lastCompletionTime

java.util.Date lastCompletionTime()
Return the last completion time of the task, or null if not scheduled before.


Spring Framework