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.- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdescriptionprotected javax.management.MBeanFeatureInfoinfoprotected java.lang.Stringnameprotected java.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description FeatureInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetName()java.lang.StringgetType()voidsetDescription(java.lang.String description)voidsetName(java.lang.String name)voidsetType(java.lang.String type)
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- 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, 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.
-
setType
public void setType(java.lang.String type)
-
-