public abstract class AbstractJxrReport
extends org.apache.maven.reporting.AbstractMavenReport
Modifier and Type | Field and Description |
---|---|
protected boolean |
skip
Whether to skip this execution.
|
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteTool
Constructor and Description |
---|
AbstractJxrReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
protected List<String> |
constructSourceDirs()
Gets the list of the source directories to be included in the JXR report generation
|
protected void |
executeReport(Locale locale) |
protected ResourceBundle |
getBundle(Locale locale)
Returns the correct resource bundle according to the locale.
|
protected abstract File |
getJavadocLocation()
Abstract method that returns the location where (Test) Javadoc is generated for this project.
|
protected org.apache.maven.plugin.MojoExecution |
getMojoExecution() |
protected abstract File |
getPluginReportOutputDirectory()
Abstract method that returns the plugin report output directory where the generated JXR report will be put
beneath
AbstractMavenReport.getReportOutputDirectory() . |
protected org.apache.maven.project.MavenProject |
getProject() |
protected List<org.apache.maven.project.MavenProject> |
getReactorProjects() |
protected org.apache.maven.execution.MavenSession |
getSession() |
protected abstract List<String> |
getSourceRoots()
Abstract method that returns the specified source directories that will be included in the JXR report generation.
|
protected abstract List<String> |
getSourceRoots(org.apache.maven.project.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<String> |
pruneSourceDirs(List<String> sourceDirs)
Compiles the list of directories which contain source files that will be included in the JXR report generation.
|
closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, setReportOutputDirectory
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="maven.jxr.skip", defaultValue="false") protected boolean skip
protected List<String> pruneSourceDirs(List<String> sourceDirs)
sourceDirs
- the List of the source directoriesprotected void init()
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
protected org.apache.maven.execution.MavenSession getSession()
protected List<org.apache.maven.project.MavenProject> getReactorProjects()
protected org.apache.maven.plugin.MojoExecution getMojoExecution()
protected ResourceBundle getBundle(Locale locale)
locale
- the locale of the userprotected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
org.apache.maven.reporting.MavenReportException
protected List<String> constructSourceDirs()
public boolean canGenerateReport()
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
canGenerateReport
in class org.apache.maven.reporting.AbstractMavenReport
public boolean isExternalReport()
isExternalReport
in interface org.apache.maven.reporting.MavenReport
isExternalReport
in class org.apache.maven.reporting.AbstractMavenReport
protected abstract File getPluginReportOutputDirectory()
AbstractMavenReport.getReportOutputDirectory()
.protected abstract List<String> getSourceRoots()
protected abstract List<String> getSourceRoots(org.apache.maven.project.MavenProject project)
project
- the MavenProject where the JXR report plugin will be executedprotected abstract File getJavadocLocation()
protected boolean isAggregate()
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.