public abstract class AbstractJsDocsMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
AbstractJsDocsMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
archive(File archiveDir)
Archive the directory of the jsdocs.
|
protected List<String> |
createArgumentStack(Set<File> files)
Create a list of arguments for the jsdoc toolkit.
|
protected void |
createJsDocs()
Creates the js docs.
|
void |
execute() |
protected void |
executeJSDocs(List<String> args)
Execute the jsdoc toolkit executable.
|
protected abstract File |
getArchiveOutputDirectory()
return the file location of where the archive of the jsdocs should be
placed.
|
protected File |
getBaseDir() |
protected abstract String |
getClassifier()
The classifier that will be used for the file name.
|
String |
getDestDir() |
protected String |
getFinalName() |
File |
getOutputDirectory() |
abstract ArrayList<File> |
getSourceDirectories() |
File |
getTemplate() |
File |
getToolkitExtractDirectory() |
protected abstract boolean |
isAggregator() |
boolean |
isCaseSensitive() |
boolean |
isIncludePrivate() |
boolean |
isUseNamespacedFiles() |
protected void |
setConsoleOuput()
Will output the console jsdoc creation logs to log4j.
|
void |
setOutputDirectory(File outputDirectoryIn) |
protected final File getBaseDir()
public final boolean isCaseSensitive()
public final boolean isUseNamespacedFiles()
public final File getTemplate()
public final boolean isIncludePrivate()
public final File getToolkitExtractDirectory()
protected final String getFinalName()
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected final void createJsDocs()
throws org.apache.maven.reporting.MavenReportException,
IOException
org.apache.maven.reporting.MavenReportException - if there is a problem in the creation of jsdocsIOException - if there is a problem writing the filesprotected final void executeJSDocs(List<String> args) throws org.apache.maven.reporting.MavenReportException
args - the list of arguments for the jsdoc toolkitorg.apache.maven.reporting.MavenReportException - for any reporting exceptionprotected final List<String> createArgumentStack(Set<File> files)
files - the files to create jsdocs forprotected final void setConsoleOuput()
protected final void archive(File archiveDir) throws IOException
archiveDir - the location to write the archiveIOException - If there is a problem unzipping to the directorypublic abstract ArrayList<File> getSourceDirectories()
protected abstract boolean isAggregator()
public final File getOutputDirectory()
public final void setOutputDirectory(File outputDirectoryIn)
outputDirectoryIn - the outputDirectory to set it toprotected abstract String getClassifier()
protected abstract File getArchiveOutputDirectory()
public final String getDestDir()
Copyright © 2012. All Rights Reserved.