public class JMXQueryTask extends AbstractCatalinaTask
/jmxproxy/?qry) supported by the Tomcat manager application.| Modifier and Type | Field and Description | 
|---|---|
| protected String | queryThe JMX query string | 
charset, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor and Description | 
|---|
| JMXQueryTask() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute()Execute the requested operation. | 
| String | getQuery()Get method for the JMX query string | 
| void | setQuery(String query)Set method for the JMX query string. | 
execute, execute, getCharset, getPassword, getUrl, getUsername, setCharset, setPassword, setUrl, setUsernameaddConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputpropertybindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected String query
setQuery(String)public String getQuery()
public void setQuery(String query)
Examples of query format:
query - JMX Query stringpublic void execute()
             throws org.apache.tools.ant.BuildException
execute in class AbstractCatalinaTaskorg.apache.tools.ant.BuildException - if an error occursCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.