org.apache.tools.ant.taskdefs.optional.jmx
Class ConfigureMBeanTask.GetAttribute

java.lang.Object
  |
  +--org.apache.tools.ant.taskdefs.optional.jmx.ConfigureMBeanTask.GetAttribute
Enclosing class:
ConfigureMBeanTask

public static class ConfigureMBeanTask.GetAttribute
extends java.lang.Object

Nested getAttribute task. Retrieves the specified attribute name and assigns it to an ANT property value.


Constructor Summary
ConfigureMBeanTask.GetAttribute()
           
 
Method Summary
 java.lang.String getName()
          Returns the mbean attribute name
 java.lang.String getProperty()
          Returns the Ant property - defaults to the attribute name.
 void setName(java.lang.String name)
          Sets the name attribute.
 void setProperty(java.lang.String property)
          Sets the value attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigureMBeanTask.GetAttribute

public ConfigureMBeanTask.GetAttribute()
Method Detail

setName

public void setName(java.lang.String name)
Sets the name attribute.
Parameters:
name - The name of the mbean attribute to retrieve.

setProperty

public void setProperty(java.lang.String property)
Sets the value attribute.
Parameters:
property - The ANT property that will receive the value of the mbean attribute.

getName

public java.lang.String getName()
Returns the mbean attribute name

getProperty

public java.lang.String getProperty()
Returns the Ant property - defaults to the attribute name.