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 Summary
Fields Modifier and Type Field Description private booleanhasExtensionsToLoadprivate org.apache.maven.plugin.descriptor.PluginDescriptorpluginDescriptorprivate java.util.List<RequirementsHistory>requirementsHistories-
Fields inherited from class org.apache.maven.plugin.plugin.report.AbstractPluginReportRenderer
locale, project
-
-
Constructor Summary
Constructors Constructor Description PluginOverviewRenderer(org.apache.maven.doxia.sink.Sink sink, org.codehaus.plexus.i18n.I18N i18n, java.util.Locale locale, org.apache.maven.project.MavenProject project, java.util.List<RequirementsHistory> requirementsHistories, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor, boolean hasExtensionsToLoad)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetI18nSection()protected voidrenderBody()private voidrenderGoalsSection(boolean hasMavenReport)private voidrenderRequirementsHistoriesSection()private voidrenderSystemRequirementsSection()private voidrenderUsageSection(boolean hasMavenReport)Render the section about the usage of the plugin.-
Methods inherited from class org.apache.maven.plugin.plugin.report.AbstractPluginReportRenderer
getI18nString, getI18nString, getTitle
-
Methods inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer
createLinkPatternedText, endSection, endTable, javaScript, link, linkPatternedText, paragraph, propertiesToString, render, startSection, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimSource, verbatimText
-
-
-
-
Field Detail
-
requirementsHistories
private final java.util.List<RequirementsHistory> requirementsHistories
-
pluginDescriptor
private final org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor
-
hasExtensionsToLoad
private final boolean hasExtensionsToLoad
-
-
Constructor Detail
-
PluginOverviewRenderer
PluginOverviewRenderer(org.apache.maven.doxia.sink.Sink sink, org.codehaus.plexus.i18n.I18N i18n, java.util.Locale locale, org.apache.maven.project.MavenProject project, java.util.List<RequirementsHistory> requirementsHistories, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor, boolean hasExtensionsToLoad)- Parameters:
sink- not nulli18n- not nulllocale- not nullproject- not nullrequirementsHistories- not nullpluginDescriptor- not null
-
-
Method Detail
-
renderBody
protected void renderBody()
- Specified by:
renderBodyin classorg.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 java.lang.String getI18nSection()
- Specified by:
getI18nSectionin classAbstractPluginReportRenderer- Returns:
- the key prefix to be used with every key. Is prepended by
report..
-
-