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<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.
|
| Constructor and Description |
|---|
ApplicationConfigReportRenderer(org.apache.maven.doxia.sink.Sink sink,
org.codehaus.plexus.i18n.I18N i18n,
Locale locale,
String bundleName,
Set<ApplicationConfigProvider> configProviders,
boolean optionWithDetail) |
createLinkPatternedText, endSection, endTable, javaScript, link, linkPatternedText, paragraph, propertiesToString, render, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimTextprotected final org.codehaus.plexus.i18n.I18N i18n
protected final Locale locale
protected final String bundleName
protected final Set<ApplicationConfigProvider> configProviders
protected final boolean optionWithDetail
public ApplicationConfigReportRenderer(org.apache.maven.doxia.sink.Sink sink,
org.codehaus.plexus.i18n.I18N i18n,
Locale locale,
String bundleName,
Set<ApplicationConfigProvider> configProviders,
boolean optionWithDetail)
public String getTitle()
getTitle in interface org.apache.maven.reporting.MavenReportRenderergetTitle in class org.apache.maven.reporting.AbstractMavenReportRendererpublic void renderBody()
renderBody in class org.apache.maven.reporting.AbstractMavenReportRendererprotected void renderOptionDefsTable(ApplicationConfigProvider configProvider, Collection<ApplicationConfig.OptionDef> options)
protected void renderActionDefsTable(ApplicationConfig.ActionDef... actions)
protected String getText(boolean key)
protected String getText(String key)
key - the message key.protected String getDefaultValue(ApplicationConfig.OptionDef option)
protected void renderWarningIcon()
protected void renderErrorIcon()
protected void renderSuccessIcon()
protected void renderInfoIcon()
protected void sinkHeaderCellText(String text)
protected void sinkCellText(String text)
protected void sinkCellVerbatimText(String text)
protected Collection<ApplicationConfig.OptionDef> getOptions(ApplicationConfigProvider configProvider)
Copyright © 2012-2013 CodeLutin. All Rights Reserved.