|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.api.tasks.diagnostics.AbstractReportTask
public abstract class AbstractReportTask extends ConventionTask
The base class for all project report tasks.
| Constructor Summary | |
protected AbstractReportTask()
|
|
| Method Summary | |
|---|---|
void
|
generate()
|
protected void
|
generate(Project project)
|
File
|
getOutputFile()
Returns the file which the report will be written to. |
Set
|
getProjects()
Returns the set of project to generate this report for. |
protected ReportRenderer
|
getRenderer()
|
void
|
setOutputFile(File outputFile)
Sets the file which the report will be written to. |
void
|
setProjects(Set projects)
Specifies the set of projects to generate this report for. |
| Constructor Detail |
|---|
protected AbstractReportTask()
| Method Detail |
|---|
@TaskAction public void generate()
protected void generate(Project project)
@OutputFile @Optional public File getOutputFile()
public Set getProjects()
protected ReportRenderer getRenderer()
public void setOutputFile(File outputFile)
outputFile - The output file. May be null.
public void setProjects(Set projects)
projects - The set of projects. Must not be null.
Gradle API 1.5