org.gradle.execution
Interface TaskExecuter

All Superinterfaces:
TaskExecutionGraph
All Known Implementing Classes:
DefaultTaskExecuter

public interface TaskExecuter
extends TaskExecutionGraph


Method Summary
 void addTasks(java.lang.Iterable<? extends Task> tasks)
          Adds the given tasks and their dependencies to this graph.
 void execute()
          Executes the tasks in this graph.
 void execute(java.lang.Iterable<? extends Task> tasks)
          Adds the given tasks and their dependencies to this graph, then executes all the tasks in this graph.
 
Methods inherited from interface org.gradle.api.execution.TaskExecutionGraph
addTaskExecutionGraphListener, addTaskExecutionListener, afterTask, beforeTask, getAllTasks, hasTask, hasTask, removeTaskExecutionGraphListener, removeTaskExecutionListener, whenReady
 

Method Detail

addTasks

void addTasks(java.lang.Iterable<? extends Task> 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

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


execute

void execute(java.lang.Iterable<? extends Task> 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.