|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task com.sun.faban.harness.util.DeployTask
public class DeployTask
Ant task for deployment of benchmarks. Usage is as follows:
<deploy url="${faban.url}/deploy" jar="${benchmark.name}.jar"/>
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
DeployTask()
|
Method Summary | |
---|---|
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. |
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 DeployTask()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |