|
spring-context | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.scheduling.config.Task
public class Task
Holder class defining a Runnable
to be executed as a task, typically at a
scheduled time or interval. See subclass hierarchy for various scheduling approaches.
Constructor Summary | |
---|---|
Task(java.lang.Runnable runnable)
Create a new Task . |
Method Summary | |
---|---|
java.lang.Runnable |
getRunnable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Task(java.lang.Runnable runnable)
Task
.
runnable
- the underlying task to execute.Method Detail |
---|
public java.lang.Runnable getRunnable()
|
spring-context | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |