public class FindLeaksTask extends AbstractCatalinaTask
/findleaks
command, supported by
the Tomcat manager application.charset, password, url, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
FindLeaksTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the requested operation.
|
boolean |
getStatusLine()
Returns the statusLine parameter that controls if the response includes a
status line or not.
|
void |
setStatusLine(boolean statusLine)
Sets the statusLine parameter that controls if the response includes a
status line or not.
|
execute, execute, getCharset, getPassword, getUrl, getUsername, setCharset, setPassword, setUrl, setUsername
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setStatusLine(boolean statusLine)
statusLine
- true
if the status line should be includedpublic boolean getStatusLine()
true
if the status line should be included,
otherwise false
public void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.