Class AbstractProjectBasedReportTask<T>

    • Constructor Detail

      • AbstractProjectBasedReportTask

        public AbstractProjectBasedReportTask()
    • Method Detail

      • calculateReportModelFor

        protected abstract T calculateReportModelFor​(Project project)
      • generateReportHeaderFor

        @Incubating
        protected void generateReportHeaderFor​(java.util.Map<org.gradle.api.tasks.diagnostics.internal.ProjectDetails,​T> modelsByProjectDetails)
        Provides a means of printing a customizable header section above the per-project details body of the report.

        By default, there is no header information printed.

        Parameters:
        modelsByProjectDetails - information about the projects under report
        Since:
        8.9
      • generateReportFor

        protected abstract void generateReportFor​(org.gradle.api.tasks.diagnostics.internal.ProjectDetails project,
                                                  T model)
      • generateReportFooterFor

        @Incubating
        protected void generateReportFooterFor​(java.util.Map<org.gradle.api.tasks.diagnostics.internal.ProjectDetails,​T> modelsByProjectDetails)
        Provides a means of printing a customizable footer section below the per-project details body of the report.

        By default, there is no footer information printed.

        Parameters:
        modelsByProjectDetails - information about the projects under report
        Since:
        8.9