FileDocCategorySizeDatePackage
RemoveTask.javaAPI DocApache Tomcat 6.0.142139Fri Jul 20 04:20:32 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: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
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;