FileDocCategorySizeDatePackage
RemoveTask.javaAPI DocGlassfish v2 API3259Fri May 04 22:31:52 BST 2007org.apache.catalina.ant

RemoveTask

public class RemoveTask extends AbstractCatalinaTask
Ant task that implements the /remove command, supported by the Tomcat manager application.
author
Craig R. McClanahan
version
$Revision: 1.3 $ $Date: 2007/05/05 05:31:52 $
deprecated
Replaced by UndeployTask

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("/remove?path=" + URLEncoder.encode(this.path));

    
public java.lang.StringgetPath()


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

        this.path = path;