public class JMXQueryTask extends AbstractCatalinaTask
/jmxproxy/?qry
) supported by the Tomcat manager application.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
query
The JMX query string
|
charset, ignoreResponseConstraint, password, url, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
JMXQueryTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the requested operation.
|
java.lang.String |
getQuery()
Get method for the JMX query string
|
void |
setQuery(java.lang.String query)
Set method for the JMX query string.
|
execute, execute, getCharset, getPassword, getUrl, getUsername, isIgnoreResponseConstraint, setCharset, setIgnoreResponseConstraint, 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
protected java.lang.String query
setQuery(String)
public java.lang.String getQuery()
public void setQuery(java.lang.String query)
Examples of query format:
query
- JMX Query stringpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.