org.apache.tomcat.util.modeler

Class OperationInfo

public class OperationInfo extends FeatureInfo implements Serializable

Internal configuration information for an Operation descriptor.

Author: Craig R. McClanahan

Field Summary
protected Stringimpact
protected ParameterInfo[]parameters
protected Stringrole
Constructor Summary
OperationInfo()
Standard zero-arguments constructor.
Method Summary
voidaddParameter(ParameterInfo parameter)
Add a new parameter to the set of arguments for this operation.
StringgetImpact()
The "impact" of this operation, which should be a (case-insensitive) string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
protected MBeanParameterInfo[]getMBeanParameterInfo()
StringgetReturnType()
The fully qualified Java class name of the return type for this operation.
StringgetRole()
The role of this operation ("getter", "setter", "operation", or "constructor").
ParameterInfo[]getSignature()
The set of parameters for this operation.
voidsetImpact(String impact)
voidsetReturnType(String returnType)
voidsetRole(String role)

Field Detail

impact

protected String impact

parameters

protected ParameterInfo[] parameters

role

protected String role

Constructor Detail

OperationInfo

public OperationInfo()
Standard zero-arguments constructor.

Method Detail

addParameter

public void addParameter(ParameterInfo parameter)
Add a new parameter to the set of arguments for this operation.

Parameters: parameter The new parameter descriptor

getImpact

public String getImpact()
The "impact" of this operation, which should be a (case-insensitive) string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".

getMBeanParameterInfo

protected MBeanParameterInfo[] getMBeanParameterInfo()

getReturnType

public String getReturnType()
The fully qualified Java class name of the return type for this operation.

getRole

public String getRole()
The role of this operation ("getter", "setter", "operation", or "constructor").

getSignature

public ParameterInfo[] getSignature()
The set of parameters for this operation.

setImpact

public void setImpact(String impact)

setReturnType

public void setReturnType(String returnType)

setRole

public void setRole(String role)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.