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 StringThe name of the bundle containing our I18n resources.protected final org.codehaus.plexus.i18n.I18NInternationalization component.protected final LocaleThe 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 StringgetGAV(ThirdPartyDetails details) Gets the localized message for this report.getTitle()protected voidprotected voidprotected voidprotected voidprotected voidrenderThirdPartySummaryTable(Collection<ThirdPartyDetails> collection) protected voidprotected voidprotected voidsinkCellText(String width, String text) protected voidsinkHeaderCellText(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:
getTitlein interfaceorg.apache.maven.reporting.MavenReportRenderer- Specified by:
getTitlein 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
-