|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
public abstract class AbstractMavenReport
The basis for a Maven report.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
|---|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractMavenReport()
|
|
| Method Summary | |
|---|---|
boolean |
canGenerateReport()
|
protected void |
closeReport()
Actions when closing the report. |
void |
execute()
This method should be never called - all reports are rendered by Maven site-plugin's |
protected abstract void |
executeReport(java.util.Locale locale)
Execute the generation of the report. |
void |
generate(org.codehaus.doxia.sink.Sink aSink,
java.util.Locale aLocale)
Deprecated. using generate(Sink, SinkFactory, Locale) instead of |
void |
generate(org.apache.maven.doxia.sink.Sink aSink,
java.util.Locale aLocale)
Deprecated. using generate(Sink, SinkFactory, Locale) instead of |
void |
generate(org.apache.maven.doxia.sink.Sink aSink,
org.apache.maven.doxia.sink.SinkFactory aSinkFactory,
java.util.Locale aLocale)
Generate a report. |
java.lang.String |
getCategoryName()
|
protected abstract java.lang.String |
getOutputDirectory()
|
protected abstract org.apache.maven.project.MavenProject |
getProject()
|
java.io.File |
getReportOutputDirectory()
|
org.apache.maven.doxia.sink.Sink |
getSink()
|
org.apache.maven.doxia.sink.SinkFactory |
getSinkFactory()
|
protected abstract org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer()
|
boolean |
isExternalReport()
|
void |
setReportOutputDirectory(java.io.File reportOutputDirectory)
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.reporting.MavenReport |
|---|
getDescription, getName, getOutputName |
| Constructor Detail |
|---|
public AbstractMavenReport()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugins.site.ReportDocumentRender,
Mojo.execute()
public void generate(org.codehaus.doxia.sink.Sink aSink,
java.util.Locale aLocale)
throws org.apache.maven.reporting.MavenReportException
generate(Sink, SinkFactory, Locale) instead of
aSink - the sink to use for the generation.aLocale - the wanted locale to generate the report, could be null.
MavenReportException - if any
public void generate(org.apache.maven.doxia.sink.Sink aSink,
java.util.Locale aLocale)
throws org.apache.maven.reporting.MavenReportException
generate(Sink, SinkFactory, Locale) instead of
generate in interface org.apache.maven.reporting.MavenReportorg.apache.maven.reporting.MavenReportExceptionMavenReport.generate(org.apache.maven.doxia.sink.Sink, java.util.Locale)
public void generate(org.apache.maven.doxia.sink.Sink aSink,
org.apache.maven.doxia.sink.SinkFactory aSinkFactory,
java.util.Locale aLocale)
throws org.apache.maven.reporting.MavenReportException
aSink - aSinkFactory - aLocale -
MavenReportExceptionpublic java.lang.String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportpublic java.io.File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void setReportOutputDirectory(java.io.File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportprotected void closeReport()
public org.apache.maven.doxia.sink.Sink getSink()
public org.apache.maven.doxia.sink.SinkFactory getSinkFactory()
public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportMavenReport.isExternalReport()public boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportprotected abstract org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
protected abstract java.lang.String getOutputDirectory()
protected abstract org.apache.maven.project.MavenProject getProject()
protected abstract void executeReport(java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
locale - the wanted locale to return the report's description, could be null.
MavenReportException - if any
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||