Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, Configurable<Task>@Deprecated @DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly") public abstract class AbstractReportTask extends org.gradle.api.internal.ConventionTask
ProjectBasedReportTask instead.Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractReportTask() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
generate() |
Deprecated.
|
protected abstract void |
generate(Project project) |
Deprecated.
|
protected org.gradle.initialization.BuildClientMetaData |
getClientMetaData() |
Deprecated.
|
File |
getOutputFile() |
Deprecated.
Returns the file which the report will be written to.
|
Set<Project> |
getProjects() |
Deprecated.
Returns the set of project to generate this report for.
|
protected abstract org.gradle.api.tasks.diagnostics.internal.ReportRenderer |
getRenderer() |
Deprecated.
|
protected org.gradle.internal.logging.text.StyledTextOutputFactory |
getTextOutputFactory() |
Deprecated.
|
void |
setOutputFile(File outputFile) |
Deprecated.
Sets the file which the report will be written to.
|
void |
setProjects(Set<Project> projects) |
Deprecated.
Specifies the set of projects to generate this report for.
|
conventionMapping, conventionMapping, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention@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()