org.apache.tools.ant.taskdefs.optional.jmx
Class InvokeMBeanTask.Parameter

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

public static class InvokeMBeanTask.Parameter
extends java.lang.Object

Nested parameter task. Sets the specified attribute name to the specified value.


Constructor Summary
InvokeMBeanTask.Parameter()
           
 
Method Summary
 void addText(java.lang.String text)
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 void setType(java.lang.String type)
          Sets the type attribute.
 void setValue(java.lang.String value)
          Sets the value attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeMBeanTask.Parameter

public InvokeMBeanTask.Parameter()
Method Detail

setValue

public void setValue(java.lang.String value)
Sets the value attribute.
Parameters:
value - The value for the mbean operation parameter.

addText

public void addText(java.lang.String text)

getValue

public java.lang.String getValue()

setType

public void setType(java.lang.String type)
Sets the type attribute.
Parameters:
type - The class name for the parameter. If type is not provided, no type checking is performed.

getType

public java.lang.String getType()