|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.tasks.diagnostics.TextProjectReportRenderer org.gradle.api.tasks.diagnostics.TaskReportRenderer
public class TaskReportRenderer extends TextProjectReportRenderer
A TaskReportRenderer is responsible for rendering the model of a project task report.
Field Summary |
---|
Fields inherited from class TextProjectReportRenderer | |
---|---|
SEPARATOR |
Constructor Summary | |
TaskReportRenderer()
|
|
TaskReportRenderer(java.lang.Appendable writer)
|
Method Summary | |
---|---|
void
|
addChildTask(TaskDetails task)
|
void
|
addDefaultTasks(java.util.List defaultTaskNames)
Writes the default task names for the current project. |
void
|
addRule(Rule rule)
Writes a rule for the current project. |
void
|
addTask(TaskDetails task)
Writes a task for the current project. |
void
|
completeTasks()
Marks the end of the tasks for the current project. |
void
|
showDetail(boolean detail)
|
void
|
startProject(Project project)
|
void
|
startTaskGroup(java.lang.String taskGroup)
|
Methods inherited from class TextProjectReportRenderer | |
---|---|
complete, completeProject, getFormatter, getWriter, setOutputFile, startProject |
Constructor Detail |
---|
public TaskReportRenderer()
public TaskReportRenderer(java.lang.Appendable writer)
Method Detail |
---|
public void addChildTask(TaskDetails task)
public void addDefaultTasks(java.util.List defaultTaskNames)
defaultTaskNames
- The default task names (must not be null)
public void addRule(Rule rule)
rule
- The rule
public void addTask(TaskDetails task)
task
- The task
public void completeTasks()
public void showDetail(boolean detail)
@Override public void startProject(Project project)
public void startTaskGroup(java.lang.String taskGroup)
Groovy Documentation