public class SimpleTriggerContext extends Object implements TriggerContext
TriggerContext
interface.Constructor and Description |
---|
SimpleTriggerContext() |
Modifier and Type | Method and Description |
---|---|
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. |
void |
update(Date lastScheduledExecutionTime,
Date lastActualExecutionTime,
Date lastCompletionTime)
Update this holder's state with the latest time values.
|
public void update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime)
lastScheduledExecutionTime
- last scheduled execution timelastActualExecutionTime
- last actual execution timelastCompletionTime
- last completion timepublic Date lastScheduledExecutionTime()
TriggerContext
null
if not scheduled before.lastScheduledExecutionTime
in interface TriggerContext
public Date lastActualExecutionTime()
TriggerContext
null
if not scheduled before.lastActualExecutionTime
in interface TriggerContext
public Date lastCompletionTime()
TriggerContext
null
if not scheduled before.lastCompletionTime
in interface TriggerContext