com.github.jlgrock.javascriptframework.jsdocs
Class JsTestDocsJsarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.github.jlgrock.javascriptframework.jsdocs.AbstractJsDocsMojo
com.github.jlgrock.javascriptframework.jsdocs.AbstractJsDocsNonAggMojo
com.github.jlgrock.javascriptframework.jsdocs.JsTestDocsJsarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JsTestDocsJsarMojo
- extends AbstractJsDocsNonAggMojo
Generates javascript docs from the jsdoc-toolkit (the final version) and
stores them into a js archive.
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class com.github.jlgrock.javascriptframework.jsdocs.AbstractJsDocsMojo |
archive, createArgumentStack, generateArchive, getArchive, getBaseDir, getDefaultManifestFile, getExtensionFormat, getFinalName, getJarArchiver, getJsDocAppLocation, getProject, getProjectHelper, getRecurseDepth, getTemplate, getToolkitExtractDirectory, isAllFunctions, isForceUnique, isIgnoreCode, isIncludePrivate, isIncludeSourceCode, 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 |
JsTestDocsJsarMojo
public JsTestDocsJsarMojo()
getOutputDirectory
public final File getOutputDirectory()
- Specified by:
getOutputDirectory in class AbstractJsDocsMojo
- Returns:
- outputDirectory
getArchiveOutputDirectory
public final File getArchiveOutputDirectory()
- Description copied from class:
AbstractJsDocsMojo
- return the file location of where the archive of the jsdocs should be
placed. This should return null if no archive is expected to be created.
- Specified by:
getArchiveOutputDirectory in class AbstractJsDocsMojo
- Returns:
- the output directory or null in the case that it does not archive
execute
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getClassifier
public final String getClassifier()
- Description copied from class:
AbstractJsDocsMojo
- The classifier that will be used for the file name.
- Specified by:
getClassifier in class AbstractJsDocsMojo
- Returns:
- the classifier
Copyright © 2012. All Rights Reserved.