com.sun.jersey.wadl
Class GenerateWadlMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.sun.jersey.wadl.AbstractMojoProjectClasspathSupport
          extended by com.sun.jersey.wadl.GenerateWadlMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateWadlMojo
extends AbstractMojoProjectClasspathSupport

This mojo generates a wadl file, without the need of a running webapp.
Created on: Jun 18, 2008

Version:
$Id: GenerateWadlMojo.java 2028 2009-02-20 12:56:04Z japod $
Author:
Martin Grotzke

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateWadlMojo()
           
 
Method Summary
 void executeWithClasspath(java.util.List<java.lang.String> classpathElements)
           
 void setBaseUri(java.lang.String baseUri)
           
 void setFormatWadlFile(boolean formatWadlFile)
           
 void setPackagesResourceConfig(java.lang.String[] packagesResourceConfig)
           
 void setWadlFile(java.io.File wadlFile)
           
 void setWadlGenerators(java.util.List<WadlGeneratorDescription> wadlGenerators)
           
 
Methods inherited from class com.sun.jersey.wadl.AbstractMojoProjectClasspathSupport
execute, getClasspathElements, setDependencies
 
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
 

Constructor Detail

GenerateWadlMojo

public GenerateWadlMojo()
Method Detail

executeWithClasspath

public void executeWithClasspath(java.util.List<java.lang.String> classpathElements)
                          throws org.apache.maven.plugin.MojoExecutionException
Specified by:
executeWithClasspath in class AbstractMojoProjectClasspathSupport
Throws:
org.apache.maven.plugin.MojoExecutionException

setWadlFile

public void setWadlFile(java.io.File wadlFile)
Parameters:
wadlFile - the wadlFile to set

setBaseUri

public void setBaseUri(java.lang.String baseUri)
Parameters:
baseUri - the baseUri to set

setPackagesResourceConfig

public void setPackagesResourceConfig(java.lang.String[] packagesResourceConfig)
Parameters:
packagesResourceConfig - the packagesResourceConfig to set

setFormatWadlFile

public void setFormatWadlFile(boolean formatWadlFile)
Parameters:
formatWadlFile - the formatWadlFile to set

setWadlGenerators

public void setWadlGenerators(java.util.List<WadlGeneratorDescription> wadlGenerators)
Parameters:
wadlGenerators - the wadlGenerators to set


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.