org.apache.catalina.ant
public class: UndeployTask [javadoc |
source]
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.catalina.ant.BaseRedirectorHelperTask
org.apache.catalina.ant.AbstractCatalinaTask
org.apache.catalina.ant.UndeployTask
All Implemented Interfaces:
Cloneable
Ant task that implements the
/undeploy command, supported by
the Tomcat manager application.
- author:
Craig - R. McClanahan
- version:
$ - Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
- since:
4.1 -
| Field Summary |
|---|
| protected String | path | The context path of the web application we are managing. |
| Methods from org.apache.catalina.ant.AbstractCatalinaTask: |
|---|
|
execute, execute, execute, getCharset, getPassword, getUrl, getUsername, setCharset, setPassword, setUrl, setUsername |
| Methods from org.apache.catalina.ant.BaseRedirectorHelperTask: |
|---|
|
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty |
| Methods from org.apache.tools.ant.Task: |
|---|
|
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Method from org.apache.catalina.ant.UndeployTask Detail: |
public void execute() throws BuildException {
super.execute();
if (path == null) {
throw new BuildException
("Must specify 'path' attribute");
}
execute("/undeploy?path=" + this.path);
}
Execute the requested operation. |
public String getPath() {
return (this.path);
}
|
public void setPath(String path) {
this.path = path;
}
|