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.
|
static File |
generateArchive(AbstractJsDocsMojo mojo,
File javadocFiles,
String jarFileName)
Method that creates the jar file.
|
org.apache.maven.archiver.MavenArchiveConfiguration |
getArchive() |
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.
|
File |
getDefaultManifestFile() |
String |
getExtensionFormat() |
protected String |
getFinalName() |
org.codehaus.plexus.archiver.jar.JarArchiver |
getJarArchiver() |
File |
getJsDocAppLocation()
The location of the JsDocApplication for use in the JsDocMojos.
|
abstract File |
getOutputDirectory() |
org.apache.maven.project.MavenProject |
getProject() |
org.apache.maven.project.MavenProjectHelper |
getProjectHelper() |
int |
getRecurseDepth() |
abstract Set<File> |
getSourceFiles()
This will get a listing of all of the files that should be used to create
the jsdocs.
|
File |
getTemplate() |
File |
getToolkitExtractDirectory() |
boolean |
isAllFunctions() |
boolean |
isForceUnique() |
boolean |
isIgnoreCode() |
boolean |
isIncludePrivate() |
boolean |
isIncludeSourceCode() |
boolean |
isUseDefaultManifestFile() |
getLog, getPluginContext, setLog, setPluginContextpublic final File getToolkitExtractDirectory()
protected final String getFinalName()
protected final File getBaseDir()
protected abstract String getClassifier()
public final File getDefaultManifestFile()
public final boolean isUseDefaultManifestFile()
public final org.apache.maven.project.MavenProject getProject()
public final org.apache.maven.archiver.MavenArchiveConfiguration getArchive()
public final org.codehaus.plexus.archiver.jar.JarArchiver getJarArchiver()
public final boolean isAllFunctions()
public final boolean isIgnoreCode()
public final boolean isIncludeSourceCode()
public abstract File getOutputDirectory()
public final boolean isIncludePrivate()
public final int getRecurseDepth()
public final File getTemplate()
public final boolean isForceUnique()
public final File getJsDocAppLocation()
protected final List<String> createArgumentStack(Set<File> files) throws org.apache.maven.reporting.MavenReportException
files - the files to create jsdocs fororg.apache.maven.reporting.MavenReportException - whenever the necessary arguments have been passed in
incorrectly or if there is a problem with one of the
parameters sent inprotected final void archive(File archiveDir) throws IOException
archiveDir - the location to write the archiveIOException - If there is a problem unzipping to the directorypublic abstract Set<File> getSourceFiles()
public static File generateArchive(AbstractJsDocsMojo mojo, File javadocFiles, String jarFileName) throws org.codehaus.plexus.archiver.ArchiverException, IOException
mojo - the mojo to receive maven specific variables from.javadocFiles - the directory where the generated jar file will be putjarFileName - the filename of the generated jar fileorg.codehaus.plexus.archiver.ArchiverException - if anyIOException - if anypublic final org.apache.maven.project.MavenProjectHelper getProjectHelper()
public final String getExtensionFormat()
public abstract File getArchiveOutputDirectory()
Copyright © 2015. All Rights Reserved.