public class AntlrHtmlReport extends AbstractAntlrMojo implements org.apache.maven.reporting.MavenReport
| Modifier and Type | Class and Description |
|---|---|
private static class |
AntlrHtmlReport.AntlrRenderer
Renderer report
|
AbstractAntlrMojo.NoAntlrDependencyDefinedException| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
description
The description of the Antlr report.
|
protected org.codehaus.plexus.i18n.I18N |
i18n
Internationalization.
|
private java.lang.String |
name
The name of the Antlr report.
|
private java.io.File |
reportOutputDirectory
Specifies the destination directory where Antlr generates HTML files.
|
private org.apache.maven.doxia.siterenderer.Renderer |
siteRenderer
Generates the site report
|
grammarDefs, grammars, outputDirectory, project, sourceDirectory| Constructor and Description |
|---|
AntlrHtmlReport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgs(java.util.List arguments)
Add arguments to be included in Antlr call
|
boolean |
canGenerateReport() |
void |
execute() |
void |
generate(org.codehaus.doxia.sink.Sink sink,
java.util.Locale locale) |
java.lang.String |
getCategoryName() |
java.lang.String |
getDescription(java.util.Locale locale) |
java.lang.String |
getName(java.util.Locale locale) |
java.lang.String |
getOutputName() |
java.io.File |
getReportOutputDirectory() |
boolean |
isExternalReport() |
void |
setReportOutputDirectory(java.io.File reportOutputDirectory) |
addArgIf, executeAntlr, getOutputDirectory, getSourceDirectory, locateAntlrArtifact, performGenerationgetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogprivate org.apache.maven.doxia.siterenderer.Renderer siteRenderer
protected org.codehaus.plexus.i18n.I18N i18n
private java.io.File reportOutputDirectory
private java.lang.String name
private java.lang.String description
public java.lang.String getName(java.util.Locale locale)
getName in interface org.apache.maven.reporting.MavenReportMavenReport.getName(java.util.Locale)public java.lang.String getDescription(java.util.Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportMavenReport.getDescription(java.util.Locale)protected void addArgs(java.util.List arguments)
AbstractAntlrMojoaddArgs in class AbstractAntlrMojoAbstractAntlrMojo.addArgs(java.util.List)public void generate(org.codehaus.doxia.sink.Sink sink,
java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
generate in interface org.apache.maven.reporting.MavenReportorg.apache.maven.reporting.MavenReportExceptionMavenReport.generate(org.codehaus.doxia.sink.Sink, java.util.Locale)public java.lang.String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportMavenReport.getOutputName()public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportMavenReport.isExternalReport()public boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportMavenReport.canGenerateReport()public java.lang.String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportMavenReport.getCategoryName()public java.io.File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportMavenReport.getReportOutputDirectory()public void setReportOutputDirectory(java.io.File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportMavenReport.setReportOutputDirectory(java.io.File)public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionAbstractMavenReport.execute()