Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.IConventionAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
@Deprecated public abstract class AbstractReportTask extends org.gradle.api.internal.ConventionTask
ProjectBasedReportTask
instead.Task.Namer
TASK_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, getConventionMapping
compareTo, 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, usesService
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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()