public class ApplicationConfigReportRenderer
extends org.apache.maven.reporting.AbstractMavenReportRenderer
ApplicationConfigReport
report.Modifier and Type | Field and Description |
---|---|
protected String |
bundleName
The name of the bundle containing our I18n resources.
|
protected Set<org.nuiton.config.ApplicationConfigProvider> |
configProviders
Set of config providers to generate.
|
protected org.codehaus.plexus.i18n.I18N |
i18n
Internationalization component.
|
protected Locale |
locale
The locale we are rendering for.
|
protected boolean |
optionWithDetail
To show option in detail.
|
protected String |
reportName
The report physical name (used to generated link).
|
Constructor and Description |
---|
ApplicationConfigReportRenderer(org.apache.maven.doxia.sink.Sink sink,
org.codehaus.plexus.i18n.I18N i18n,
Locale locale,
String reportName,
String bundleName,
Set<org.nuiton.config.ApplicationConfigProvider> configProviders,
boolean optionWithDetail) |
Modifier and Type | Method and Description |
---|---|
protected String |
getDefaultValue(org.nuiton.config.ConfigOptionDef option) |
protected Collection<org.nuiton.config.ConfigOptionDef> |
getOptions(org.nuiton.config.ApplicationConfigProvider configProvider) |
protected String |
getText(boolean key) |
protected String |
getText(String key)
Gets the localized message for this report.
|
String |
getTitle() |
protected void |
renderActionDefsTable(org.nuiton.config.ConfigActionDef... actions) |
void |
renderBody() |
protected void |
renderConfigProviderDetail(org.nuiton.config.ApplicationConfigProvider configProvider) |
protected void |
renderErrorIcon() |
protected void |
renderInfoIcon() |
protected void |
renderOptionDefsTable(org.nuiton.config.ApplicationConfigProvider configProvider,
Collection<org.nuiton.config.ConfigOptionDef> options) |
protected void |
renderProviderOptionDetail(org.nuiton.config.ApplicationConfigProvider configProvider,
org.nuiton.config.ConfigOptionDef option) |
protected void |
renderProviderSummaryTable() |
protected void |
renderSuccessIcon() |
protected void |
renderWarningIcon() |
protected void |
sinkCellLink(String text,
String url) |
protected void |
sinkCellText(org.apache.maven.doxia.sink.SinkEventAttributes width,
String text) |
protected void |
sinkCellText(String text) |
protected void |
sinkCellVerbatimText(String text) |
protected void |
sinkHeaderCellText(org.apache.maven.doxia.sink.SinkEventAttributes width,
String text) |
protected void |
sinkHeaderCellText(String text) |
protected void |
sinkLinkToAnchor(String text,
String anchor) |
createLinkPatternedText, endSection, endTable, javaScript, link, linkPatternedText, paragraph, propertiesToString, render, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimText
protected final org.codehaus.plexus.i18n.I18N i18n
protected final Locale locale
protected final String reportName
protected final String bundleName
protected final Set<org.nuiton.config.ApplicationConfigProvider> configProviders
protected final boolean optionWithDetail
public String getTitle()
getTitle
in interface org.apache.maven.reporting.MavenReportRenderer
getTitle
in class org.apache.maven.reporting.AbstractMavenReportRenderer
public void renderBody()
renderBody
in class org.apache.maven.reporting.AbstractMavenReportRenderer
protected void renderProviderSummaryTable()
protected void renderConfigProviderDetail(org.nuiton.config.ApplicationConfigProvider configProvider)
protected void renderOptionDefsTable(org.nuiton.config.ApplicationConfigProvider configProvider, Collection<org.nuiton.config.ConfigOptionDef> options)
protected void renderActionDefsTable(org.nuiton.config.ConfigActionDef... actions)
protected void renderProviderOptionDetail(org.nuiton.config.ApplicationConfigProvider configProvider, org.nuiton.config.ConfigOptionDef option)
protected String getText(boolean key)
protected String getText(String key)
key
- the message key.protected String getDefaultValue(org.nuiton.config.ConfigOptionDef option)
protected void renderWarningIcon()
protected void renderErrorIcon()
protected void renderSuccessIcon()
protected void renderInfoIcon()
protected void sinkHeaderCellText(String text)
protected void sinkHeaderCellText(org.apache.maven.doxia.sink.SinkEventAttributes width, String text)
protected void sinkCellText(org.apache.maven.doxia.sink.SinkEventAttributes width, String text)
protected void sinkCellText(String text)
protected void sinkCellVerbatimText(String text)
protected Collection<org.nuiton.config.ConfigOptionDef> getOptions(org.nuiton.config.ApplicationConfigProvider configProvider)
Copyright © 2013–2016 CodeLutin. All rights reserved.