java.lang.Cloneablepublic class JMXSetTask extends AbstractCatalinaTask
/jmxproxy/?set)
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
|
protected java.lang.String |
value |
The new value for the attribute
|
charset, ignoreResponseConstraint, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor | Description |
|---|---|
JMXSetTask() |
| 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
|
java.lang.String |
getValue() |
Get method for the attribute value
|
void |
setAttribute(java.lang.String attribute) |
Set method for the attribute name
|
void |
setBean(java.lang.String bean) |
Set method for the bean name
|
void |
setValue(java.lang.String value) |
Set method for the attribute value.
|
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
protected java.lang.String value
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 java.lang.String getValue()
public void setValue(java.lang.String value)
value - Attribute valuepublic 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.