|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.github.jlgrock.javascriptframework.jsdocs.AbstractJsDocsMojo
public abstract class AbstractJsDocsMojo
The abstract jsdoc creation class.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractJsDocsMojo()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute |
| Constructor Detail |
|---|
public AbstractJsDocsMojo()
| Method Detail |
|---|
public 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 for
org.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 in
protected final void archive(File archiveDir)
throws IOException
archiveDir - the location to write the archive
IOException - 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 file
org.codehaus.plexus.archiver.ArchiverException - if any
IOException - if anypublic final org.apache.maven.project.MavenProjectHelper getProjectHelper()
public final String getExtensionFormat()
public abstract File getArchiveOutputDirectory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||