FileDocCategorySizeDatePackage
UndeployTask.javaAPI DocApache Tomcat 6.0.142067Fri Jul 20 04:20:34 BST 2007org.apache.catalina.ant

UndeployTask

public class UndeployTask extends AbstractCatalinaTask
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

Fields Summary
protected String
path
The context path of the web application we are managing.
Constructors Summary
Methods Summary
public voidexecute()
Execute the requested operation.

exception
BuildException if an error occurs


        super.execute();
        if (path == null) {
            throw new BuildException
                ("Must specify 'path' attribute");
        }

        execute("/undeploy?path=" + this.path);
    
public java.lang.StringgetPath()


       
        return (this.path);
    
public voidsetPath(java.lang.String path)

        this.path = path;