org.apache.cxf.maven_plugin.wadlto
Class AbstractCodeGeneratorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.cxf.maven_plugin.wadlto.AbstractCodeGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
WADL2JavaMojo

public abstract class AbstractCodeGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCodeGeneratorMojo()
           
 
Method Summary
protected  org.apache.cxf.Bus callCodeGenerator(WadlOption option, org.apache.cxf.Bus bus, Set<URI> classPath)
           
protected  boolean deleteDir(File f)
          Recursively delete the given directory
protected  void downloadRemoteDocs(List<WadlOption> effectiveOptions)
           
protected  void forkOnce(Set<URI> classPath, List<WadlOption> effectiveOptions)
           
 
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

AbstractCodeGeneratorMojo

public AbstractCodeGeneratorMojo()
Method Detail

downloadRemoteDocs

protected void downloadRemoteDocs(List<WadlOption> effectiveOptions)
                           throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

forkOnce

protected void forkOnce(Set<URI> classPath,
                        List<WadlOption> effectiveOptions)
                 throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

callCodeGenerator

protected org.apache.cxf.Bus callCodeGenerator(WadlOption option,
                                               org.apache.cxf.Bus bus,
                                               Set<URI> classPath)
                                        throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

deleteDir

protected boolean deleteDir(File f)
Recursively delete the given directory

Parameters:
f -
Returns:


Apache CXF