Package org.apache.tomcat.util.modeler
Class FeatureInfo
- java.lang.Object
-
- org.apache.tomcat.util.modeler.FeatureInfo
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AttributeInfo,NotificationInfo,OperationInfo,ParameterInfo
public class FeatureInfo extends java.lang.Object implements java.io.SerializableConvenience base class for
AttributeInfoandOperationInfoclasses that will be used to collect configuration information for theModelMBeanbeans exposed for management.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdescriptionHuman-readable description of this feature.protected javax.management.MBeanFeatureInfoinfoThe underlying JMX MBeanFeatureInfo object.protected java.lang.StringnameThe name of this feature.protected java.lang.StringtypeThe fully qualified Java class name of this element.
-
Constructor Summary
Constructors Constructor Description FeatureInfo()Default constructor for FeatureInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the human-readable description of this feature.java.lang.StringgetName()Returns the name of this feature.java.lang.StringgetType()Returns the fully qualified Java class name of this element.voidsetDescription(java.lang.String description)voidsetName(java.lang.String name)voidsetType(java.lang.String type)
-
-
-
Field Detail
-
description
protected java.lang.String description
Human-readable description of this feature.
-
name
protected java.lang.String name
The name of this feature.
-
info
protected javax.management.MBeanFeatureInfo info
The underlying JMX MBeanFeatureInfo object.
-
type
protected java.lang.String type
The fully qualified Java class name of this element.
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns the human-readable description of this feature.- Returns:
- the human-readable description of this feature
-
setDescription
public void setDescription(java.lang.String description)
-
getName
public java.lang.String getName()
Returns the name of this feature.- Returns:
- the name of this feature, which must be unique among features in the same collection
-
setName
public void setName(java.lang.String name)
-
getType
public java.lang.String getType()
Returns the fully qualified Java class name of this element.- Returns:
- the fully qualified Java class name of this element
-
setType
public void setType(java.lang.String type)
-
-