public abstract class AbstractGroovydocMojo extends AbstractGroovySourcesMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
displayAuthor
Whether to display the author in the generated Groovydoc.
|
protected String |
docTitle
The page title.
|
protected String |
footer
The page footer.
|
protected boolean |
groovydocJavaSources
Whether to include Java sources in groovydoc generation.
|
protected File |
groovydocOutputDirectory
The location for the generated API docs.
|
protected String |
header
The page header.
|
protected List<Link> |
links
Links to include in the generated groovydoc (key is link href, value is comma-separated packages to use that link).
|
protected static Version |
MIN_GROOVY_VERSION
The minimum version of Groovy that this mojo supports.
|
protected File |
overviewFile
The HTML file to be used for overview documentation.
|
protected String |
scope
The scope to generate Groovydoc for, should be one of:
"public"
"protected"
"package"
"private"
|
protected String |
stylesheetEncoding
The encoding of stylesheetFile.
|
protected File |
stylesheetFile
The stylesheet file (absolute path) to copy to output directory (will overwrite default stylesheet.css).
|
protected File |
testGroovydocOutputDirectory
The location for the generated test API docs.
|
protected String |
windowTitle
The window title.
|
MAIN, sources, TEST, testSourcesGROOVY_SOURCES_PATTERN, JAVA_SOURCES_PATTERN, localRepository, pluginArtifacts, project, reactorProjects, session, settings| Constructor and Description |
|---|
AbstractGroovydocMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateGroovydoc(org.apache.maven.shared.model.fileset.FileSet[] sourceDirectories,
File outputDirectory)
Generates the groovydoc for the specified sources.
|
protected boolean |
groovyVersionSupportsAction()
Determines whether this mojo can be run with the version of Groovy supplied.
|
getFiles, getFilesets, getSourceRoots, getSourceRoots, getSources, getSources, getTestSourceRoots, getTestSourceRoots, getTestSources, getTestSources, setSources, setTestSourcesgetGroovyDependency, getGroovyVersion, getGroovyVersionString, getJavaVersion, getJavaVersionString, isGroovyArtifactId, isGroovyArtifactId, isGroovyGroupId, isGroovyGroupId, isGroovyIndy, isJavaSupportIndy, logGroovyVersiongetLog, getPluginContext, setLog, setPluginContextprotected static final Version MIN_GROOVY_VERSION
protected File groovydocOutputDirectory
protected File testGroovydocOutputDirectory
protected String windowTitle
protected String docTitle
protected String footer
protected String header
protected boolean displayAuthor
protected File overviewFile
protected File stylesheetFile
protected String stylesheetEncoding
protected String scope
protected List<Link> links
protected boolean groovydocJavaSources
protected void generateGroovydoc(org.apache.maven.shared.model.fileset.FileSet[] sourceDirectories,
File outputDirectory)
throws ClassNotFoundException,
InvocationTargetException,
IllegalAccessException,
InstantiationException
sourceDirectories - The source directories to generate groovydoc foroutputDirectory - The directory to save the generated groovydoc inClassNotFoundException - When a class needed for groovydoc generation cannot be foundInstantiationException - When a class needed for groovydoc generation cannot be instantiatedIllegalAccessException - When a method needed for groovydoc generation cannot be accessedInvocationTargetException - When a reflection invocation needed for groovydoc generation cannot be completedprotected boolean groovyVersionSupportsAction()
true only if the version of Groovy supports this mojoCopyright © 2011-2014. All Rights Reserved.