Class TriggerTask
java.lang.Object
org.springframework.scheduling.config.Task
org.springframework.scheduling.config.TriggerTask
- Direct Known Subclasses:
CronTask
- Since:
- 3.2
- Author:
- Chris Beams
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.scheduling.config.Task
getRunnable, toString
-
Constructor Details
-
TriggerTask
Create a newTriggerTask
.- Parameters:
runnable
- the underlying task to executetrigger
- specifies when the task should be executed
-
-
Method Details
-
getTrigger
Return the associated trigger.
-