Class AbstractCodeGeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.cxf.BuscallCodeGenerator(WadlOption option, org.apache.cxf.Bus bus, Set<URI> classPath) protected booleanRecursively delete the given directoryprotected voiddownloadRemoteDocs(List<WadlOption> effectiveOptions) protected voidforkOnce(Set<URI> classPath, List<WadlOption> effectiveOptions) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Constructor Details
-
AbstractCodeGeneratorMojo
public AbstractCodeGeneratorMojo()
-
-
Method Details
-
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
Recursively delete the given directory- Parameters:
f-- Returns:
-