net.israfil.mojo.flex2
Class ASDocMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.israfil.mojo.flex2.AbstractFlexMojo
net.israfil.mojo.flex2.ASDocMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport
public class ASDocMojo
- extends AbstractFlexMojo
- implements org.apache.maven.reporting.MavenReport
API Document generator for Actionscript 3 code.
- Version:
- $Id: CompCompilerMojo.java 573 2007-12-20 03:12:19Z christianedwardgruber $
- Author:
- Christian Edward Gruber
|
Field Summary |
protected java.io.File |
asdocTemplates
The location of the asdoc templates to be used in generating documentation |
| Fields inherited from class net.israfil.mojo.flex2.AbstractFlexMojo |
classifier, extraParameters, finalName, flexConfig, flexHome, javaOpts, outputDirectory, pluginArtifacts, project, projectHelper, source |
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
asdocTemplates
protected java.io.File asdocTemplates
- The location of the asdoc templates to be used in generating documentation
ASDocMojo
public ASDocMojo()
canGenerateReport
public boolean canGenerateReport()
- Specified by:
canGenerateReport in interface org.apache.maven.reporting.MavenReport
getCategoryName
public java.lang.String getCategoryName()
- Specified by:
getCategoryName in interface org.apache.maven.reporting.MavenReport
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in interface org.apache.maven.reporting.MavenReport
getName
public java.lang.String getName(java.util.Locale locale)
- Specified by:
getName in interface org.apache.maven.reporting.MavenReport
getOutputName
public java.lang.String getOutputName()
- Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport
getReportOutputDirectory
public java.io.File getReportOutputDirectory()
- Specified by:
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReport
isExternalReport
public boolean isExternalReport()
- Specified by:
isExternalReport in interface org.apache.maven.reporting.MavenReport
setReportOutputDirectory
public void setReportOutputDirectory(java.io.File reportOutputDirectory)
- Method to set the directory where the generated reports will be put. As
with Javadoc, make sure that the resulting path ends with ${destdir}
- Specified by:
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReport
- Parameters:
reportOutputDirectory - the directory file to be set
generate
public void generate(org.codehaus.doxia.sink.Sink sink,
java.util.Locale locale)
throws org.apache.maven.reporting.MavenReportException
- Specified by:
generate in interface org.apache.maven.reporting.MavenReport
- Throws:
org.apache.maven.reporting.MavenReportException
getCompilerClass
protected java.lang.String getCompilerClass()
- Specified by:
getCompilerClass in class AbstractFlexMojo
getExecutableJar
protected java.lang.String getExecutableJar()
- Specified by:
getExecutableJar in class AbstractFlexMojo
getOutputFile
protected java.io.File getOutputFile()
- Specified by:
getOutputFile in class AbstractFlexMojo
getFileExtension
protected java.lang.String getFileExtension()
- Specified by:
getFileExtension in class AbstractFlexMojo
prepareParameters
protected java.util.List prepareParameters()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
- Description copied from class:
AbstractFlexMojo
- Override and implement this method to take the existing java parameters
and add any final information requried to provide source files to the
compiler.
- Overrides:
prepareParameters in class AbstractFlexMojo
- Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
postProcess
protected void postProcess()
- Description copied from class:
AbstractFlexMojo
- Executed near the end of execute().
- Overrides:
postProcess in class AbstractFlexMojo
Copyright © 2006-2008 Israfil Consulting Services Corporation Open-Source Projects. All Rights Reserved.