FileDocCategorySizeDatePackage
UndeployTask.javaAPI DocGlassfish v2 API3192Fri May 04 22:31:52 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: 1.3 $ $Date: 2007/05/05 05:31:52 $
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;