Class OperationInfo
java.lang.Object
org.apache.tomcat.util.modeler.FeatureInfo
org.apache.tomcat.util.modeler.OperationInfo
- All Implemented Interfaces:
Serializable
Internal configuration information for an Operation
descriptor.
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected ParameterInfo[]
protected final ReadWriteLock
protected String
Fields inherited from class org.apache.tomcat.util.modeler.FeatureInfo
description, info, name, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(ParameterInfo parameter) Add a new parameter to the set of arguments for this operation.protected MBeanParameterInfo[]
getRole()
void
void
setReturnType
(String returnType) void
Methods inherited from class org.apache.tomcat.util.modeler.FeatureInfo
getDescription, getName, getType, setDescription, setName, setType
-
Field Details
-
impact
-
role
-
parametersLock
-
parameters
-
-
Constructor Details
-
OperationInfo
public OperationInfo()Standard zero-arguments constructor.
-
-
Method Details
-
getImpact
- Returns:
- the "impact" of this operation, which should be a (case-insensitive) string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
-
setImpact
-
getRole
- Returns:
- the role of this operation ("getter", "setter", "operation", or "constructor").
-
setRole
-
getReturnType
- Returns:
- the fully qualified Java class name of the return type for this operation.
-
setReturnType
-
getSignature
- Returns:
- the set of parameters for this operation.
-
addParameter
Add a new parameter to the set of arguments for this operation.- Parameters:
parameter
- The new parameter descriptor
-
getMBeanParameterInfo
-