org.apache.catalina.ant
public class: RemoveTask [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.RemoveTask
All Implemented Interfaces:
Cloneable
Deprecated! Replaced - by UndeployTask
Ant task that implements the
/remove 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) $
| 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.RemoveTask Detail: |
public void execute() throws BuildException {
super.execute();
if (path == null) {
throw new BuildException
("Must specify 'path' attribute");
}
execute("/remove?path=" + URLEncoder.encode(this.path));
} Deprecated!Execute the requested operation. |
public String getPath() {
return (this.path);
} Deprecated! |
public void setPath(String path) {
this.path = path;
} Deprecated! |