Class AbstractCatalinaCommandTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DeployTask, ReloadTask, SessionsTask, StartTask, StopTask, UndeployTask

public abstract class AbstractCatalinaCommandTask extends AbstractCatalinaTask
  • Field Details

    • path

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

      protected String version
      The context version of the web application we are managing.
  • Constructor Details

    • AbstractCatalinaCommandTask

      public AbstractCatalinaCommandTask()
  • Method Details

    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • createQueryString

      public StringBuilder createQueryString(String command) throws org.apache.tools.ant.BuildException
      Create query string for the specified command.
      Parameters:
      command - Command to be executed
      Returns:
      The generated query string
      Throws:
      org.apache.tools.ant.BuildException - if an error occurs