Groovy Documentation

org.gradle.execution
Interface TaskExecuter

org.gradle.api.execution.TaskExecutionGraph
  org.gradle.execution.TaskExecuter
All Superinterfaces:
TaskExecutionGraph

interface TaskExecuter
extends TaskExecutionGraph

Method Summary
void addTasks(java.lang.Iterable tasks)

Adds the given tasks and their dependencies to this graph.

void execute()

Executes the tasks in this graph.

void execute(java.lang.Iterable tasks)

Adds the given tasks and their dependencies to this graph, then executes all the tasks in this graph.

 
Methods inherited from interface TaskExecutionGraph
addTaskExecutionGraphListener, addTaskExecutionListener, afterTask, beforeTask, getAllTasks, hasTask, hasTask, removeTaskExecutionGraphListener, removeTaskExecutionListener, whenReady
 

Method Detail

addTasks

public void addTasks(java.lang.Iterable tasks)
Adds the given tasks and their dependencies to this graph. Tasks are executed in an arbitrary order. The tasks are executed before any tasks from a subsequent call to this method are executed.


execute

public void execute()
Executes the tasks in this graph. Discards the contents of this graph when completed.


execute

public void execute(java.lang.Iterable tasks)
Adds the given tasks and their dependencies to this graph, then executes all the tasks in this graph. Discards the contents of this graph when completed.


 

Groovy Documentation