org.apache.catalina.ant

Class UndeployTask


public class UndeployTask
extends AbstractCatalinaTask

Ant task that implements the /undeploy command, supported by the Tomcat manager application.

Version:
$Revision: 1.3.2.1 $ $Date: 2004/08/30 19:43:26 $

Author:
Craig R. McClanahan

Since:
4.1

Field Summary

protected boolean
failOnError
Whether to fail (with a BuildException) if an error occurs.
protected String
path
The context path of the web application we are managing.

Fields inherited from class org.apache.catalina.ant.AbstractCatalinaTask

password, url, username

Method Summary

void
execute()
Execute the requested operation.
String
getPath()
boolean
isFailOnError()
Returns the value of the failOnError property.
void
setFailOnError(boolean newFailOnError)
Sets the value of the failOnError property.
void
setPath(String path)

Methods inherited from class org.apache.catalina.ant.AbstractCatalinaTask

execute, execute, execute, getPassword, getUrl, getUsername, setPassword, setUrl, setUsername

Field Details

failOnError

protected boolean failOnError
Whether to fail (with a BuildException) if an error occurs. The default behavior is to do so.


path

protected String path
The context path of the web application we are managing.

Method Details

execute

public void execute()
            throws BuildException
Execute the requested operation.
Overrides:
execute in interface AbstractCatalinaTask


getPath

public String getPath()


isFailOnError

public boolean isFailOnError()
Returns the value of the failOnError property.


setFailOnError

public void setFailOnError(boolean newFailOnError)
Sets the value of the failOnError property.

Parameters:
newFailOnError - New attribute value


setPath

public void setPath(String path)


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.