public class OperationInfo extends FeatureInfo
Internal configuration information for an Operation
descriptor.
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String | impact | 
| protected ParameterInfo[] | parameters | 
| protected java.lang.String | role | 
description, info, name, type| Constructor and Description | 
|---|
| OperationInfo()Standard zero-arguments constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addParameter(ParameterInfo parameter)Add a new parameter to the set of arguments for this operation. | 
| java.lang.String | getImpact()The "impact" of this operation, which should be a (case-insensitive)
string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN". | 
| protected javax.management.MBeanParameterInfo[] | getMBeanParameterInfo() | 
| java.lang.String | getReturnType()The fully qualified Java class name of the return type for this
operation. | 
| java.lang.String | getRole()The role of this operation ("getter", "setter", "operation", or
"constructor"). | 
| ParameterInfo[] | getSignature()The set of parameters for this operation. | 
| void | setImpact(java.lang.String impact) | 
| void | setReturnType(java.lang.String returnType) | 
| void | setRole(java.lang.String role) | 
getDescription, getName, getType, setDescription, setName, setTypeprotected java.lang.String impact
protected java.lang.String role
protected ParameterInfo[] parameters
public java.lang.String getImpact()
public void setImpact(java.lang.String impact)
public java.lang.String getRole()
public void setRole(java.lang.String role)
public java.lang.String getReturnType()
public void setReturnType(java.lang.String returnType)
public ParameterInfo[] getSignature()
public void addParameter(ParameterInfo parameter)
parameter - The new parameter descriptorprotected javax.management.MBeanParameterInfo[] getMBeanParameterInfo()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.