org.apache.avalon.fortress.tools
Class AbstractQDoxMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.avalon.fortress.tools.AbstractQDoxMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- ComponentMetaMavenMojo
- public class AbstractQDoxMojo
- extends org.apache.maven.plugin.AbstractMojo
An abstract class that provides the common logic of getting directory and
file-set configuration information from Maven before creating the list of classes
and source files that will be parsed by QDox.
Classes extending this class must call the execute()
method, after which
the allSources
and allClasses
fields are filled in.
- Version:
- CVS $Revision: 1.1 $ $Date: 2005/12/25 08:29:44 $
- Author:
- The Excalibur Team
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 |
fileMap
protected java.util.HashMap fileMap
allSources
protected java.util.ArrayList allSources
allClasses
protected java.util.ArrayList allClasses
AbstractQDoxMojo
public AbstractQDoxMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
buildFileMap
protected void buildFileMap()
buildFileMap
protected void buildFileMap(java.io.File directory,
java.lang.String[] sourceFiles)
createDocletTagFactory
protected com.thoughtworks.qdox.model.DocletTagFactory createDocletTagFactory()
processSources
protected void processSources(com.thoughtworks.qdox.model.JavaSource[] sources)
processClasses
protected void processClasses(com.thoughtworks.qdox.model.JavaClass[] classes)
validateAttributes
protected void validateAttributes()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
createDefaultFileset
protected org.apache.maven.model.FileSet[] createDefaultFileset()
getDestDir
public java.io.File getDestDir()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.