|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.DefaultTask
clojuresque.tasks.TaskWatcher
class TaskWatcher extends DefaultTask
Execute a set of tasks in a regular interval. This can be useful when to generate eg. a new set of assets during web development. Or run tests continually during development. Note: This is somewhat hacky. Expect problems.
| Property Summary | |
|---|---|
java.lang.Object |
pollingInterval
The sleeping interval between task runs. |
| Method Summary | |
|---|---|
java.lang.Object
|
getTasks()
Get the tasks, watched by this watcher task. |
java.lang.Object
|
setTasks(java.lang.Object tasks)
Set the tasks, watched by this watcher task. |
java.lang.Object
|
task(java.lang.Object t)
Add a task to be watched by this watcher task. |
void
|
watch()
The task action. |
| Property Detail |
|---|
java.lang.Object pollingInterval
| Method Detail |
|---|
java.lang.Object getTasks()
java.lang.Object setTasks(java.lang.Object tasks)
tasks property of
GradleBuild.
tasks - The tasks to watchthis
java.lang.Object task(java.lang.Object t)
tasks property of
GradleBuild.
t - The task to watchthis
@TaskAction void watch()
Groovy Documentation