public class CallXINSTask extends Task
description, location, project| Constructor and Description |
|---|
CallXINSTask()
Constructs a new
CallTargetsTask instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic 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
execute in class TaskBuildException - if something goes wrong with the build.See http://www.xins.org/.