Package org.codehaus.mojo.license
Class AbstractLicenseReportRenderer
java.lang.Object
org.apache.maven.reporting.AbstractMavenReportRenderer
org.codehaus.mojo.license.AbstractLicenseReportRenderer
- All Implemented Interfaces:
org.apache.maven.reporting.MavenReportRenderer
- Direct Known Subclasses:
ThirdPartyReportRenderer
public abstract class AbstractLicenseReportRenderer
extends org.apache.maven.reporting.AbstractMavenReportRenderer
Base class for report renderers.
- Since:
- 1.1
- Author:
- tchemit dev@tchemit.fr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
The name of the bundle containing our I18n resources.protected final org.codehaus.plexus.i18n.I18N
Internationalization component.protected final Locale
The locale we are rendering for.Fields inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer
sink
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractLicenseReportRenderer
(org.apache.maven.doxia.sink.Sink sink, String bundleName, org.codehaus.plexus.i18n.I18N i18n, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getGAV
(ThirdPartyDetails details) Gets the localized message for this report.getTitle()
protected void
protected void
protected void
protected void
protected void
renderThirdPartySummaryTable
(Collection<ThirdPartyDetails> collection) protected void
protected void
protected void
sinkCellText
(String width, String text) protected void
sinkHeaderCellText
(String width, String text) Methods inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer
createLinkPatternedText, endSection, endTable, javaScript, link, linkPatternedText, paragraph, propertiesToString, render, renderBody, startSection, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimSource, verbatimText
-
Field Details
-
i18n
protected final org.codehaus.plexus.i18n.I18N i18nInternationalization component.- Since:
- 1.1
-
locale
The locale we are rendering for.- Since:
- 1.1
-
bundleName
The name of the bundle containing our I18n resources.- Since:
- 1.1
-
-
Constructor Details
-
AbstractLicenseReportRenderer
-
-
Method Details
-
getTitle
- Specified by:
getTitle
in interfaceorg.apache.maven.reporting.MavenReportRenderer
- Specified by:
getTitle
in classorg.apache.maven.reporting.AbstractMavenReportRenderer
-
getText
Gets the localized message for this report.- Parameters:
key
- the message key.- Returns:
- the message.
-
renderWarningIcon
protected void renderWarningIcon() -
renderErrorIcon
protected void renderErrorIcon() -
renderSuccessIcon
protected void renderSuccessIcon() -
renderInfoIcon
protected void renderInfoIcon() -
getGAV
-
sinkHeaderCellText
-
sinkCellText
-
renderThirdPartySummaryTableRow
-
renderThirdPartyDetailTable
-
renderThirdPartySummaryTable
-