Package org.codehaus.mojo.aspectj
Class AjcReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.aspectj.AjcReportMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.apache.maven.reporting.MavenMultiPageReport,org.apache.maven.reporting.MavenReport
@Mojo(name="aspectj-report",
requiresDependencyResolution=COMPILE)
public class AjcReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
Creates an AspectJ HTML report using the
ajdoc tool and format.
A Maven 2.0 ajdoc report- Author:
- Kaare Nilsen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringSpecify compiler compliance setting (1.3 to 1.8, default is 1.5)protected StringSpecifies the title to be placed near the top of the overview summary file.protected StringSpecifies that javadoc should retrieve the text for the overview documentation from the "source" file specified by path/filename and place it on the Overview page (overview-summary.html).protected booleanShows only package, protected, and public classes and members.protected booleanShows all classes and members.protected booleanShows only protected and public classes and members.protected booleanShows only public classes and members.protected booleanProvides more detailed messages while javadoc is running.Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidexecuteReport(Locale locale) Executes this ajdoc-report generation.getDescription(Locale locale) protected Stringget report output directory.protected org.apache.maven.project.MavenProjectGet the maven project.protected org.apache.maven.doxia.siterenderer.RendererGet the site renderer.booleanvoidsetComplianceLevel(String complianceLevel) Set source compliance levelvoidsetDoctitle(String doctitle) voidsetOverview(String overview) voidsetPackageScope(boolean packageScope) voidsetPluginArtifacts(List<org.apache.maven.artifact.Artifact> pluginArtifacts) voidsetPrivateScope(boolean privateScope) voidsetProtectedScope(boolean protectedScope) voidsetPublicScope(boolean publicScope) voidsetVerbose(boolean verbose) Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
packageScope
@Parameter protected boolean packageScopeShows only package, protected, and public classes and members. -
protectedScope
@Parameter protected boolean protectedScopeShows only protected and public classes and members. This is the default. -
privateScope
@Parameter protected boolean privateScopeShows all classes and members. -
publicScope
@Parameter protected boolean publicScopeShows only public classes and members. -
overview
Specifies that javadoc should retrieve the text for the overview documentation from the "source" file specified by path/filename and place it on the Overview page (overview-summary.html). The path/filename is relative to the ${basedir}. While you can use any name you want for filename and place it anywhere you want for path, a typical thing to do is to name it overview.html and place it in the source tree at the directory that contains the topmost package directories. In this location, no path is needed when documenting packages, since -sourcepath will point to this file. For example, if the source tree for the java.lang package is /src/classes/java/lang/, then you could place the overview file at /src/classes/overview.html. See Real World Example. For information about the file specified by path/filename, see overview comment file.Note that the overview page is created only if you pass into javadoc two or more package names. For further explanation, see HTML Frames.) The title on the overview page is set by -doctitle. -
doctitle
Specifies the title to be placed near the top of the overview summary file. The title will be placed as a centered, level-one heading directly beneath the upper navigation bar. The title may contain html tags and white space, though if it does, it must be enclosed in quotes. Any internal quotation marks within title may have to be escaped. -
verbose
@Parameter protected boolean verboseProvides more detailed messages while javadoc is running. Without the verbose option, messages appear for loading the source files, generating the documentation (one message per source file), and sorting. The verbose option causes the printing of additional messages specifying the number of milliseconds to parse each java source file. -
complianceLevel
Specify compiler compliance setting (1.3 to 1.8, default is 1.5)
-
-
Constructor Details
-
AjcReportMojo
public AjcReportMojo()
-
-
Method Details
-
executeReport
Executes this ajdoc-report generation.- Specified by:
executeReportin classorg.apache.maven.reporting.AbstractMavenReport- Throws:
org.apache.maven.reporting.MavenReportException
-
getSourceDirectories
- Returns:
- list of source directories
-
getOutputDirectory
get report output directory.- Overrides:
getOutputDirectoryin classorg.apache.maven.reporting.AbstractMavenReport
-
getClasspathDirectories
- Returns:
- list of classpath directories
-
getOutputName
-
getName
-
getDescription
-
isExternalReport
public boolean isExternalReport()- Specified by:
isExternalReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
isExternalReportin classorg.apache.maven.reporting.AbstractMavenReport- See Also:
-
canGenerateReport
public boolean canGenerateReport()- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
canGenerateReportin classorg.apache.maven.reporting.AbstractMavenReport- See Also:
-
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()Get the site renderer.- Overrides:
getSiteRendererin classorg.apache.maven.reporting.AbstractMavenReport
-
getProject
protected org.apache.maven.project.MavenProject getProject()Get the maven project.- Overrides:
getProjectin classorg.apache.maven.reporting.AbstractMavenReport
-
setOverview
-
setDoctitle
-
setPackageScope
public void setPackageScope(boolean packageScope) -
setPrivateScope
public void setPrivateScope(boolean privateScope) -
setProtectedScope
public void setProtectedScope(boolean protectedScope) -
setPublicScope
public void setPublicScope(boolean publicScope) -
setVerbose
public void setVerbose(boolean verbose) -
setComplianceLevel
Set source compliance level- Parameters:
complianceLevel- compliance level
-
setPluginArtifacts
-