org.apache.catalina.ant
Class UndeployTask
public class UndeployTask
Ant task that implements the /undeploy
command, supported by
the Tomcat manager application.
Version:
- Craig R. McClanahan
- 4.1
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.
|
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)
|
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.
execute
public void execute()
throws BuildException
Execute the requested operation.
- 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.
newFailOnError
- New attribute value
setPath
public void setPath(String path)
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.