Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.tasks.diagnostics
Class TaskReportRenderer

    java.lang.Object
      org.gradle.api.tasks.diagnostics.TextProjectReportRenderer
          org.gradle.api.tasks.diagnostics.TaskReportRenderer

    class TaskReportRenderer
    extends TextProjectReportRenderer

A `TaskReportRenderer` is responsible for rendering the model of a project task report.

author:
  Hans Dockter

Constructor Summary
`TaskReportRenderer()`
`TaskReportRenderer(java.lang.Appendable writer)`

Method Summary
`void` | `addDefaultTasks(List defaultTaskNames)` Writes the default task names for the current project.
`void` | `addRule(Rule rule)` Writes a rule for the current project.
`void` | `addTask(Task task)` Writes a task for the current project.
`void` | `completeProject(Project project)`
`void` | `startProject(Project project)`

Methods inherited from class TextProjectReportRenderer
complete, completeProject, getFormatter, getWriter, setOutputFile, startProject

Constructor Detail

### TaskReportRenderer

    public TaskReportRenderer()

### TaskReportRenderer

    public TaskReportRenderer(java.lang.Appendable writer)

Method Detail

### addDefaultTasks

    public void addDefaultTasks(List defaultTaskNames)

  Writes the default task names for the current project.
  param:
    defaultTaskNames The default task names (must not be null)

### addRule

    public void addRule(Rule rule)

  Writes a rule for the current project.
  param:
    rule The rule

### addTask

    public void addTask(Task task)

  Writes a task for the current project.
  param:
    task The task

### completeProject

    @Override
    public void completeProject(Project project)

### startProject

    @Override
    public void startProject(Project project)

Groovy Documentation