Class PluginOverviewRenderer

java.lang.Object
org.apache.maven.reporting.AbstractMavenReportRenderer
org.apache.maven.plugin.plugin.report.AbstractPluginReportRenderer
org.apache.maven.plugin.plugin.report.PluginOverviewRenderer
All Implemented Interfaces:
org.apache.maven.reporting.MavenReportRenderer

class PluginOverviewRenderer extends AbstractPluginReportRenderer
Generates an overview page with the list of goals and a link to the goal's page.
  • Field Details

    • requirementsHistories

      private final List<RequirementsHistory> requirementsHistories
    • pluginDescriptor

      private final org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor
    • hasExtensionsToLoad

      private final boolean hasExtensionsToLoad
  • Constructor Details

    • PluginOverviewRenderer

      PluginOverviewRenderer(org.apache.maven.doxia.sink.Sink sink, org.codehaus.plexus.i18n.I18N i18n, Locale locale, org.apache.maven.project.MavenProject project, List<RequirementsHistory> requirementsHistories, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor, boolean hasExtensionsToLoad)
      Parameters:
      sink - not null
      i18n - not null
      locale - not null
      project - not null
      requirementsHistories - not null
      pluginDescriptor - not null
  • Method Details

    • renderBody

      protected void renderBody()
      Specified by:
      renderBody in class org.apache.maven.reporting.AbstractMavenReportRenderer
    • renderGoalsSection

      private void renderGoalsSection(boolean hasMavenReport)
    • renderSystemRequirementsSection

      private void renderSystemRequirementsSection()
    • renderRequirementsHistoriesSection

      private void renderRequirementsHistoriesSection()
    • renderUsageSection

      private void renderUsageSection(boolean hasMavenReport)
      Render the section about the usage of the plugin.
      Parameters:
      hasMavenReport - If the plugin has a report or not
    • getI18nSection

      protected String getI18nSection()
      Specified by:
      getI18nSection in class AbstractPluginReportRenderer
      Returns:
      the key prefix to be used with every key. Is prepended by report..