public abstract class JMXAccessorConditionBase
extends org.apache.tools.ant.ProjectComponent
implements org.apache.tools.ant.taskdefs.condition.Condition
Constructor and Description |
---|
JMXAccessorConditionBase() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
accessJMXValue()
Get value from MBeans attribute.
|
java.lang.String |
getAttribute() |
java.lang.String |
getHost() |
protected javax.management.MBeanServerConnection |
getJMXConnection()
Get JMXConnection (default look at jmx.server project reference
from jmxOpen Task).
|
java.lang.String |
getName() |
java.lang.String |
getPassword() |
java.lang.String |
getPort() |
java.lang.String |
getRef() |
java.lang.String |
getUrl() |
java.lang.String |
getUsername() |
java.lang.String |
getValue() |
void |
setAttribute(java.lang.String attribute) |
void |
setHost(java.lang.String host) |
void |
setName(java.lang.String objectName) |
void |
setPassword(java.lang.String password) |
void |
setPort(java.lang.String port) |
void |
setRef(java.lang.String refId) |
void |
setUrl(java.lang.String url) |
void |
setUsername(java.lang.String username) |
void |
setValue(java.lang.String value) |
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public java.lang.String getAttribute()
public void setAttribute(java.lang.String attribute)
attribute
- The attribute to set.public java.lang.String getHost()
public void setHost(java.lang.String host)
host
- The host to set.public java.lang.String getName()
public void setName(java.lang.String objectName)
objectName
- The name to set.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The password to set.public java.lang.String getPort()
public void setPort(java.lang.String port)
port
- The port to set.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- The url to set.public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- The username to set.public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String getRef()
public void setRef(java.lang.String refId)
refId
- The ref to set.protected javax.management.MBeanServerConnection getJMXConnection() throws java.net.MalformedURLException, java.io.IOException
java.net.MalformedURLException
java.io.IOException
protected java.lang.String accessJMXValue()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.