com.sun.jersey.api.wadl
Class WadlGeneratorTask

java.lang.Object  extended by org.apache.tools.ant.ProjectComponent      extended by org.apache.tools.ant.Task          extended by com.sun.jersey.api.wadl.WadlGeneratorTask

public class WadlGeneratorTask
extends org.apache.tools.ant.Task

Ant task for generating WADL for root resource classes. The task requires that the destfile attribute be set to the location of the WADL file to be generated, the baseUri attribute set to the base URI of the WADL resources, and the classpath be set. The task will scan all classes in the classpath obtain the root resource classes and then create a WADL document from those root resources.

Author:
Paul.Sandoz@Sun.Com


Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
WadlGeneratorTask()
           
 
Method Summary
 org.apache.tools.ant.types.PathcreateClasspath()
           
 voidexecute()
           
 java.lang.StringgetbaseUri()
           
 org.apache.tools.ant.types.PathgetClasspath()
           
 java.io.FilegetDestfile()
           
 voidsetBaseUri(java.lang.String baseUri)
           
 voidsetClasspath(org.apache.tools.ant.types.Path classpath)
           
 voidsetClasspathRef(org.apache.tools.ant.types.Reference r)
           
 voidsetDestfile(java.io.File wadlFile)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WadlGeneratorTask

public WadlGeneratorTask()
Method Detail

getClasspath

public org.apache.tools.ant.types.Path getClasspath()

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

getDestfile

public java.io.File getDestfile()

setDestfile

public void setDestfile(java.io.File wadlFile)

getbaseUri

public java.lang.String getbaseUri()

setBaseUri

public void setBaseUri(java.lang.String baseUri)

execute

public void execute()             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2011
Oracle Corporation. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14