org.apache.tomcat.util.modeler
public class OperationInfo extends FeatureInfo implements Serializable
Internal configuration information for an Operation
descriptor.
Field Summary | |
---|---|
protected String | impact |
protected ParameterInfo[] | parameters |
protected String | role |
Constructor Summary | |
---|---|
OperationInfo()
Standard zero-arguments constructor. |
Method Summary | |
---|---|
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) |
Parameters: parameter The new parameter descriptor