public class DeployTask
extends org.apache.tools.ant.Task
<deploy url="${faban.url}/deploy" jar="${benchmark.name}.jar"/>
Constructor and Description |
---|
DeployTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the Faban deployment task.
|
void |
setClearConfig(boolean clear)
Sets whether to clear the configuration or not.
|
void |
setJar(File jarFile)
Sets the jar file to be deployed.
|
void |
setPassword(String password)
Sets the password for deployment.
|
void |
setUrl(String target)
Sets the target URL to the Faban deployment servlet.
|
void |
setUser(String user)
Sets the user name for deployment.
|
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
public void setUrl(String target)
target
- The deployment servletpublic void setUser(String user)
user
- The user namepublic void setPassword(String password)
password
- The user's password.public void setJar(File jarFile)
jarFile
- The benchmark jarpublic void setClearConfig(boolean clear)
clear
- Whether to clear old config files.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- If there is an