|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.scheduling.support.SimpleTriggerContext
public class SimpleTriggerContext
Simple data holder implementation of the TriggerContext
interface.
Constructor Summary | |
---|---|
SimpleTriggerContext()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTriggerContext()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |