public abstract class AbstractJxrReport extends AbstractMavenReport
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
aggregate
Deprecated.
since 2.3. Use the goals
jxr:aggregate and jxr:test-aggregate instead. |
protected List |
reactorProjects
The projects in the reactor for aggregation report.
|
protected boolean |
skip
Whether to skip this execution.
|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE| Constructor and Description |
|---|
AbstractJxrReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
protected boolean |
canGenerateReport(List sourceDirs) |
protected List |
constructSourceDirs()
Gets the list of the source directories to be included in the JXR report generation
|
void |
execute() |
protected void |
executeReport(Locale locale) |
protected ResourceBundle |
getBundle(Locale locale)
Returns the correct resource bundle according to the locale
|
protected abstract String |
getDestinationDirectory()
Abstract method that returns the target directory where the generated JXR reports will be put.
|
protected abstract File |
getJavadocDir()
Abstract method that returns the directory of the javadoc files.
|
protected String |
getOutputDirectory() |
protected String |
getOutputEncoding()
Gets the effective reporting output files encoding.
|
MavenProject |
getProject() |
protected Renderer |
getSiteRenderer() |
protected abstract List |
getSourceRoots()
Abstract method that returns the specified source directories that will be included in the JXR report generation.
|
protected abstract List |
getSourceRoots(MavenProject project)
Abstract method that returns the compile source directories of the specified project that will be included in the
JXR report generation
|
protected void |
init()
Initialize some attributes required during the report generation
|
protected boolean |
isAggregate()
Is the current report aggregated?
|
boolean |
isExternalReport() |
protected List |
pruneSourceDirs(List sourceDirs)
Compiles the list of directories which contain source files that will be included in the JXR report generation.
|
closeReport, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, setReportOutputDirectorygetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, getOutputNameprotected List reactorProjects
protected boolean aggregate
jxr:aggregate and jxr:test-aggregate instead.protected boolean skip
protected String getOutputEncoding()
null: defaults to
UTF-8 instead.protected List pruneSourceDirs(List sourceDirs)
sourceDirs - the List of the source directoriesprotected void init()
protected Renderer getSiteRenderer()
getSiteRenderer in class AbstractMavenReportAbstractMavenReport.getSiteRenderer()protected String getOutputDirectory()
getOutputDirectory in class AbstractMavenReportAbstractMavenReport.getOutputDirectory()public MavenProject getProject()
getProject in class AbstractMavenReportAbstractMavenReport.getProject()protected ResourceBundle getBundle(Locale locale)
locale - the locale of the userprotected boolean canGenerateReport(List sourceDirs)
sourceDirs - public void execute()
throws MojoExecutionException
execute in interface Mojoexecute in class AbstractMavenReportMojoExecutionExceptionprotected void executeReport(Locale locale) throws MavenReportException
executeReport in class AbstractMavenReportMavenReportExceptionAbstractMavenReport.executeReport(java.util.Locale)protected List constructSourceDirs()
public boolean canGenerateReport()
canGenerateReport in interface MavenReportcanGenerateReport in class AbstractMavenReportAbstractMavenReport.canGenerateReport()public boolean isExternalReport()
isExternalReport in interface MavenReportisExternalReport in class AbstractMavenReportAbstractMavenReport.isExternalReport()protected abstract String getDestinationDirectory()
protected abstract List getSourceRoots()
protected abstract List getSourceRoots(MavenProject project)
project - the MavenProject where the JXR report plugin will be executedprotected abstract File getJavadocDir()
protected boolean isAggregate()
Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.