|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.reporting.AbstractMavenReportRenderer
org.nuiton.util.plugin.report.ApplicationConfigReportRenderer
public class ApplicationConfigReportRenderer
Render the ApplicationConfigReport report.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class org.apache.maven.reporting.AbstractMavenReportRenderer |
|---|
sink |
| Constructor Summary | |
|---|---|
ApplicationConfigReportRenderer(org.apache.maven.doxia.sink.Sink sink,
org.codehaus.plexus.i18n.I18N i18n,
Locale locale,
String bundleName,
Set<ApplicationConfigProvider> configProviders,
boolean optionWithDetail)
|
|
| Method Summary | |
|---|---|
protected String |
getDefaultValue(ApplicationConfig.OptionDef option)
|
protected Collection<ApplicationConfig.OptionDef> |
getOptions(ApplicationConfigProvider configProvider)
|
protected String |
getText(boolean key)
|
protected String |
getText(String key)
Gets the localized message for this report. |
String |
getTitle()
|
protected void |
renderActionDefsTable(ApplicationConfig.ActionDef... actions)
|
void |
renderBody()
|
protected void |
renderErrorIcon()
|
protected void |
renderInfoIcon()
|
protected void |
renderOptionDefsTable(ApplicationConfigProvider configProvider,
Collection<ApplicationConfig.OptionDef> options)
|
protected void |
renderSuccessIcon()
|
protected void |
renderWarningIcon()
|
protected void |
sinkCellLink(String text,
String url)
|
protected void |
sinkCellText(String text)
|
protected void |
sinkCellText(String width,
String text)
|
protected void |
sinkCellVerbatimText(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, startSection, startTable, startTable, tableCaption, tableCell, tableCell, tableHeader, tableHeaderCell, tableRow, text, verbatimLink, verbatimText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.codehaus.plexus.i18n.I18N i18n
protected final Locale locale
protected final String bundleName
protected final Set<ApplicationConfigProvider> configProviders
protected final boolean optionWithDetail
| Constructor Detail |
|---|
public ApplicationConfigReportRenderer(org.apache.maven.doxia.sink.Sink sink,
org.codehaus.plexus.i18n.I18N i18n,
Locale locale,
String bundleName,
Set<ApplicationConfigProvider> configProviders,
boolean optionWithDetail)
| Method Detail |
|---|
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.AbstractMavenReportRenderer
protected 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 sinkHeaderCellText(String width,
String text)
protected void sinkCellText(String width,
String text)
protected void sinkCellText(String text)
protected void sinkCellVerbatimText(String text)
protected void sinkCellLink(String text,
String url)
protected Collection<ApplicationConfig.OptionDef> getOptions(ApplicationConfigProvider configProvider)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||