|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.xins.common.ant.CallXINSTask
Apache Ant task that call a function of a XINS API, the result is stored in Ant properties.
| 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 | |
CallXINSTask()
Constructs a new CallTargetsTask instance. |
|
| Method Summary | |
Property |
createParam()
Adds an input parameter. |
void |
execute()
Called by the project to let the task do its work. |
void |
setApiLocation(String apiLocation)
Sets the URL location of the API. |
void |
setFunction(String function)
Sets the name of the API function to call. |
void |
setPrefix(String prefix)
Sets the prefix for the result properties. |
| 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 |
public CallXINSTask()
CallTargetsTask instance.
| Method Detail |
public void setFunction(String function)
function - the name of the function to call, can be null.public void setApiLocation(String apiLocation)
apiLocation - the URL location of the API without any parameters, cannot be null.public void setPrefix(String prefix)
prefix - the prefix for the result properties.public Property createParam()
public void execute()
throws BuildException
BuildException - if something goes wrong with the build.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||