public class JMXSetTask extends AbstractCatalinaTask
/jmxproxy/?set
)
supported by the Tomcat manager application.Modifier and Type | Field and 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, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
JMXSetTask() |
Modifier and Type | Method and 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, 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 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 AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.