java.lang.Cloneablepublic class JMXQueryTask extends AbstractCatalinaTask
/jmxproxy/?qry) supported by the Tomcat manager application.| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
query |
The JMX query string
|
charset, ignoreResponseConstraint, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor | Description |
|---|---|
JMXQueryTask() |
| Modifier and Type | Method | 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, setUsernameaddConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputpropertyequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected 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 AbstractCatalinaTaskorg.apache.tools.ant.BuildException - if an error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.