public abstract class AbstractApplicationConfigReport
extends org.apache.maven.reporting.AbstractMavenReport
Modifier and Type | Field and Description |
---|---|
protected Set<org.nuiton.config.ApplicationConfigProvider> |
configProviders
Set of ApplicationconfigProvider detected from configuration.
|
protected String |
exclude
List of application config to exclude from report (separated by comma).
|
protected org.codehaus.plexus.i18n.I18N |
i18n
Internationalization component.
|
protected String |
i18nBundleName
Optional i18n bundle name as used by the nuiton I18n system to init his
files.
|
protected String |
include
List of application config to include in report (separated by comma).
|
protected ClassLoader |
newClassLoader
Class loader with all compile dependencies of the module in class-path
(used to init i18n) and obtain config provider over compile class-path.
|
protected File |
outputDirectory
Report output directory.
|
protected String |
outputEncoding
Report output encoding.
|
protected org.apache.maven.project.MavenProject |
project
The Maven Project.
|
protected boolean |
showOptionDetail
Flag to render option in detail (add a section for each option).
|
protected org.apache.maven.doxia.siterenderer.Renderer |
siteRenderer
Doxia Site Renderer component.
|
protected boolean |
skip
Skip to generate the report.
|
protected boolean |
verbose
Flag to activate verbose mode.
|
Constructor and Description |
---|
AbstractApplicationConfigReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
protected abstract ClassLoader |
createClassLoader() |
protected ClassLoader |
createClassLoader(Set<String> paths) |
protected void |
executeReport(Locale locale) |
String |
getCategoryName() |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
protected String |
getOutputDirectory() |
String |
getOutputName() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
protected void |
init(Locale locale) |
closeReport, execute, generate, generate, generate, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
@Parameter(property="config.outputDirectory", defaultValue="${project.reporting.outputDirectory}", required=true) protected File outputDirectory
@Parameter(property="config.outputEncoding", defaultValue="${project.reporting.outputEncoding}", required=true) protected String outputEncoding
@Parameter(property="config.i18nBundleName") protected String i18nBundleName
DefaultI18nInitializer
with this bundle name.@Parameter(property="config.include") protected String include
@Parameter(property="config.exclude") protected String exclude
@Parameter(property="config.verbose", defaultValue="${maven.verbose}") protected boolean verbose
-X
).@Parameter(property="config.showOptionDetail", defaultValue="true") protected boolean showOptionDetail
@Parameter(property="config.skip") protected boolean skip
@Parameter(defaultValue="${project}", required=true) protected org.apache.maven.project.MavenProject project
@Component protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
@Component protected org.codehaus.plexus.i18n.I18N i18n
protected ClassLoader newClassLoader
protected Set<org.nuiton.config.ApplicationConfigProvider> configProviders
public String getOutputName()
public String getCategoryName()
getCategoryName
in interface org.apache.maven.reporting.MavenReport
getCategoryName
in class org.apache.maven.reporting.AbstractMavenReport
public boolean canGenerateReport()
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer
in class org.apache.maven.reporting.AbstractMavenReport
protected String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
protected abstract ClassLoader createClassLoader() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
protected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
protected void init(Locale locale) throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
protected ClassLoader createClassLoader(Set<String> paths)
Copyright © 2013–2016 CodeLutin. All rights reserved.