Class FindLeaksTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
All Implemented Interfaces:
Cloneable

public class FindLeaksTask extends AbstractCatalinaTask
Ant task that implements the /findleaks command, supported by the Tomcat manager application.
  • Constructor Details

    • FindLeaksTask

      public FindLeaksTask()
  • Method Details

    • setStatusLine

      public void setStatusLine(boolean statusLine)
      Sets the statusLine parameter that controls if the response includes a status line or not.
      Parameters:
      statusLine - true if the status line should be included
    • getStatusLine

      public boolean getStatusLine()
      Returns the statusLine parameter that controls if the response includes a status line or not.
      Returns:
      true if the status line should be included, otherwise false
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Execute the requested operation.
      Overrides:
      execute in class AbstractCatalinaTask
      Throws:
      org.apache.tools.ant.BuildException - if an error occurs