public class OperationInfo extends FeatureInfo
Internal configuration information for an Operation
descriptor.
Modifier and Type | Field and Description |
---|---|
protected String |
impact |
protected ParameterInfo[] |
parameters |
protected ReadWriteLock |
parametersLock |
protected 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.
|
String |
getImpact()
The "impact" of this operation, which should be a (case-insensitive)
string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
|
protected MBeanParameterInfo[] |
getMBeanParameterInfo() |
String |
getReturnType()
The fully qualified Java class name of the return type for this
operation.
|
String |
getRole()
The role of this operation ("getter", "setter", "operation", or
"constructor").
|
ParameterInfo[] |
getSignature()
The set of parameters for this operation.
|
void |
setImpact(String impact) |
void |
setReturnType(String returnType) |
void |
setRole(String role) |
getDescription, getName, getType, setDescription, setName, setType
protected String impact
protected String role
protected ReadWriteLock parametersLock
protected ParameterInfo[] parameters
public String getImpact()
public void setImpact(String impact)
public String getRole()
public void setRole(String role)
public String getReturnType()
public void setReturnType(String returnType)
public ParameterInfo[] getSignature()
public void addParameter(ParameterInfo parameter)
parameter
- The new parameter descriptorprotected MBeanParameterInfo[] getMBeanParameterInfo()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.