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
Modifier 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
ConstructorDescriptionAbstractLicenseReportRenderer
(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
protected void
renderThirdPartyDetailTable
(ThirdPartyDetails details, boolean includeScope, boolean includeClassifier, boolean includeType) protected void
renderThirdPartySummaryTable
(Collection<ThirdPartyDetails> collection) protected void
renderThirdPartySummaryTable
(Collection<ThirdPartyDetails> collection, boolean includeScope, boolean includeClassifier, boolean includeType) protected void
protected void
renderThirdPartySummaryTableHeader
(boolean includeScope, boolean includeClassifier, boolean includeType) protected void
protected void
renderThirdPartySummaryTableRow
(ThirdPartyDetails details, boolean includeScope, boolean includeClassifier, boolean includeType) protected void
protected void
safeBold()
protected void
protected void
protected void
protected void
sinkCellText
(String text) protected void
sinkCellText
(String width, String text) protected void
sinkHeaderCellText
(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, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, 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
-
renderThirdPartySummaryTableHeader
protected void renderThirdPartySummaryTableHeader() -
renderThirdPartySummaryTableHeader
protected void renderThirdPartySummaryTableHeader(boolean includeScope, boolean includeClassifier, boolean includeType) -
renderThirdPartySummaryTableRow
-
sinkHeaderCellText
-
sinkHeaderCellText
-
sinkCellText
-
sinkCellText
-
renderThirdPartySummaryTableRow
protected void renderThirdPartySummaryTableRow(ThirdPartyDetails details, boolean includeScope, boolean includeClassifier, boolean includeType) -
safeBold
protected void safeBold() -
safeBold_
protected void safeBold_() -
safeItalic
protected void safeItalic() -
safeItalic_
protected void safeItalic_() -
renderThirdPartyDetailTable
-
renderThirdPartyDetailTable
protected void renderThirdPartyDetailTable(ThirdPartyDetails details, boolean includeScope, boolean includeClassifier, boolean includeType) -
renderThirdPartySummaryTable
-
renderThirdPartySummaryTable
protected void renderThirdPartySummaryTable(Collection<ThirdPartyDetails> collection, boolean includeScope, boolean includeClassifier, boolean includeType) -
renderPropertySummaryTableHeader
protected void renderPropertySummaryTableHeader()
-