Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » ant » [javadoc | source]
org.apache.catalina.ant
abstract public class: AbstractCatalinaTask [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.catalina.ant.BaseRedirectorHelperTask
            org.apache.catalina.ant.AbstractCatalinaTask

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    ResourcesTask, RemoveTask, ServerinfoTask, JMXQueryTask, UndeployTask, JMXGetTask, ListTask, InstallTask, JMXSetTask, SessionsTask, ReloadTask, StopTask, JKStatusUpdateTask, RolesTask, DeployTask, StartTask

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.
Field Summary
protected  String charset    The charset used during URL encoding. 
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. 
Fields inherited from org.apache.catalina.ant.BaseRedirectorHelperTask:
redirector,  redirectorElement,  redirectOutStream,  redirectErrStream,  redirectOutPrintStream,  redirectErrPrintStream,  failOnError,  redirectOutput,  redirectorConfigured,  alwaysLog
Method from org.apache.catalina.ant.AbstractCatalinaTask Summary:
execute,   execute,   execute,   getCharset,   getPassword,   getUrl,   getUsername,   setCharset,   setPassword,   setUrl,   setUsername
Methods from org.apache.catalina.ant.BaseRedirectorHelperTask:
addConfiguredRedirector,   closeRedirector,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleFlush,   handleOutput,   handleOutput,   isFailOnError,   openRedirector,   setAlwaysLog,   setAppend,   setCreateEmptyFiles,   setError,   setErrorProperty,   setFailonerror,   setLogError,   setOutput,   setOutputproperty
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   init,   log,   log,   log,   log,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.ant.AbstractCatalinaTask Detail:
 public  void execute() throws BuildException 
    Execute the specified command. This logic only performs the common attribute validation required by all subclasses; it does not perform any functional logic directly.
 public  void execute(String command) throws BuildException 
    Execute the specified command, based on the configured properties.
 public  void execute(String command,
    InputStream istream,
    String contentType,
    int contentLength) throws BuildException 
    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.
 public String getCharset() 
 public String getPassword() 
 public String getUrl() 
 public String getUsername() 
 public  void setCharset(String charset) 
 public  void setPassword(String password) 
 public  void setUrl(String url) 
 public  void setUsername(String username)