| org.apache.catalina.ant.AbstractCatalinaTask
All known Subclasses: org.apache.catalina.ant.DeployTask, org.apache.catalina.ant.ReloadTask, org.apache.catalina.ant.StartTask, org.apache.catalina.ant.RolesTask, org.apache.catalina.ant.ListTask, org.apache.catalina.ant.RemoveTask, org.apache.catalina.ant.ServerinfoTask, org.apache.catalina.ant.UndeployTask, org.apache.catalina.ant.JMXSetTask, org.apache.catalina.ant.StopTask, org.apache.catalina.ant.InstallTask, org.apache.catalina.ant.JMXQueryTask, org.apache.catalina.ant.ResourcesTask, org.apache.catalina.ant.SessionsTask,
AbstractCatalinaTask | abstract public class AbstractCatalinaTask extends Task (Code) | | Abstract base class for Ant tasks that interact with the
Manager web application for dynamically deploying and
undeploying applications. These tasks require Ant 1.4 or later.
author: Craig R. McClanahan version: $Revision: 1.3 $ $Date: 2004/02/27 14:58:40 $ since: 4.1 |
Field Summary | |
protected String | password The login password for the Manager application. | protected String | url The URL of the Manager application to be used. | protected String | username The login username for the Manager application. |
password | protected String password(Code) | | The login password for the Manager application.
|
url | protected String url(Code) | | The URL of the Manager application to be used.
|
username | protected String username(Code) | | The login username for the Manager application.
|
execute | public void execute() throws BuildException(Code) | | Execute the specified command. This logic only performs the common
attribute validation required by all subclasses; it does not perform
any functional logic directly.
exception: BuildException - if a validation error occurs |
execute | public void execute(String command) throws BuildException(Code) | | Execute the specified command, based on the configured properties.
Parameters: command - Command to be executed exception: BuildException - if an error occurs |
execute | public void execute(String command, InputStream istream, String contentType, int contentLength) throws BuildException(Code) | | Execute the specified command, based on the configured properties.
The input stream will be closed upon completion of this task, whether
it was executed successfully or not.
Parameters: command - Command to be executed Parameters: istream - InputStream to include in an HTTP PUT, if any Parameters: contentType - Content type to specify for the input, if any Parameters: contentLength - Content length to specify for the input, if any exception: BuildException - if an error occurs |
|
|