| java.lang.Object org.apache.commons.modeler.FeatureInfo org.apache.commons.modeler.OperationInfo
OperationInfo | public class OperationInfo extends FeatureInfo implements Serializable(Code) | | Internal configuration information for an Operation
descriptor.
author: Craig R. McClanahan version: $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $ |
Constructor Summary | |
public | OperationInfo() Standard zero-arguments constructor. | public | OperationInfo(String name, boolean getter, String type) Special constructor for setting up getter and setter operations. |
serialVersionUID | final static long serialVersionUID(Code) | | |
OperationInfo | public OperationInfo()(Code) | | Standard zero-arguments constructor.
|
OperationInfo | public OperationInfo(String name, boolean getter, String type)(Code) | | Special constructor for setting up getter and setter operations.
Parameters: name - Name of this operation Parameters: getter - Is this a getter (as opposed to a setter)? Parameters: type - Data type of the return value (if this is a getter)or the parameter (if this is a setter) |
addParameter | public void addParameter(ParameterInfo parameter)(Code) | | Add a new parameter to the set of arguments for this operation.
Parameters: parameter - The new parameter descriptor |
createOperationInfo | public ModelMBeanOperationInfo createOperationInfo()(Code) | | Create and return a ModelMBeanOperationInfo object that
corresponds to the attribute described by this instance.
|
getImpact | public String getImpact()(Code) | | The "impact" of this operation, which should be a (case-insensitive)
string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
|
getReturnType | public String getReturnType()(Code) | | The fully qualified Java class name of the return type for this
operation.
|
getRole | public String getRole()(Code) | | The role of this operation ("getter", "setter", "operation", or
"constructor").
|
getSignature | public ParameterInfo[] getSignature()(Code) | | The set of parameters for this operation.
|
setDescription | public void setDescription(String description)(Code) | | Override the description property setter.
Parameters: description - The new description |
setName | public void setName(String name)(Code) | | Override the name property setter.
Parameters: name - The new name |
setReturnType | public void setReturnType(String returnType)(Code) | | |
toString | public String toString()(Code) | | Return a string representation of this operation descriptor.
|
|
|