Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>AbstractDependencyReportTask, ProjectReportTask, PropertyReportTask, TaskReportTaskpublic abstract class AbstractReportTask
extends org.gradle.api.internal.ConventionTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractReportTask() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
generate() |
|
protected abstract void |
generate(Project project) |
|
protected org.gradle.initialization.BuildClientMetaData |
getClientMetaData() |
|
File |
getOutputFile() |
Returns the file which the report will be written to.
|
Set<Project> |
getProjects() |
Returns the set of project to generate this report for.
|
protected abstract org.gradle.api.tasks.diagnostics.internal.ReportRenderer |
getRenderer() |
|
protected org.gradle.internal.logging.text.StyledTextOutputFactory |
getTextOutputFactory() |
|
void |
setOutputFile(File outputFile) |
Sets the file which the report will be written to.
|
void |
setProjects(Set<Project> projects) |
Specifies the set of projects to generate this report for.
|
conventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject protected org.gradle.initialization.BuildClientMetaData getClientMetaData()
@Inject protected org.gradle.internal.logging.text.StyledTextOutputFactory getTextOutputFactory()
public void generate()
@Internal protected abstract org.gradle.api.tasks.diagnostics.internal.ReportRenderer getRenderer()
protected abstract void generate(Project project) throws IOException
IOException@Nullable @Optional @OutputFile public File getOutputFile()
null, the report is written to System.out.
Defaults to null.public void setOutputFile(@Nullable
File outputFile)
null to write the report to System.out.outputFile - The output file. May be null.@Internal public Set<Project> getProjects()