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
Generates an overview page with the list of goals
and a link to the goal's page.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final org.apache.maven.plugin.descriptor.PluginDescriptorprivate final List<RequirementsHistory> Fields inherited from class AbstractPluginReportRenderer
locale, projectFields inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer
sink -
Constructor Summary
ConstructorsConstructorDescriptionPluginOverviewRenderer(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidprivate voidrenderGoalsSection(boolean hasMavenReport) private voidprivate voidprivate voidrenderUsageSection(boolean hasMavenReport) Render the section about the usage of the plugin.Methods inherited from class AbstractPluginReportRenderer
getI18nString, getI18nString, getTitleMethods 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 Details
-
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 nulli18n- not nulllocale- not nullproject- not nullrequirementsHistories- not nullpluginDescriptor- not null
-
-
Method Details
-
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
- Specified by:
getI18nSectionin classAbstractPluginReportRenderer- Returns:
- the key prefix to be used with every key. Is prepended by
report..
-