java.lang.Cloneablepublic class JMXGetTask extends AbstractCatalinaTask
/jmxproxy/?get)
supported by the Tomcat manager application.| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
attribute |
The attribute you wish to alter
|
protected java.lang.String |
bean |
The full bean name
|
charset, ignoreResponseConstraint, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor | Description |
|---|---|
JMXGetTask() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
Execute the requested operation.
|
java.lang.String |
getAttribute() |
Get method for the attribute name
|
java.lang.String |
getBean() |
Get method for the bean name
|
void |
setAttribute(java.lang.String attribute) |
Set method for the attribute name
|
void |
setBean(java.lang.String bean) |
Set method for the bean name
|
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 bean
protected java.lang.String attribute
public java.lang.String getBean()
public void setBean(java.lang.String bean)
bean - Bean namepublic java.lang.String getAttribute()
public void setAttribute(java.lang.String attribute)
attribute - Attribute namepublic 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.