public class ParameterInfo extends FeatureInfo implements java.io.Serializable
Internal configuration information for a Parameter
descriptor.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
type |
description, fields, name
Constructor and Description |
---|
ParameterInfo()
Standard zero-arguments constructor.
|
ParameterInfo(java.lang.String name,
java.lang.String type,
java.lang.String description)
Special constructor for setting up parameters programatically.
|
Modifier and Type | Method and Description |
---|---|
javax.management.MBeanParameterInfo |
createParameterInfo()
Create and return a
MBeanParameterInfo object that
corresponds to the parameter described by this instance. |
java.lang.String |
getType()
The fully qualified Java class name of this parameter.
|
void |
setDescription(java.lang.String description)
Override the
description property setter. |
void |
setName(java.lang.String name)
Override the
name property setter. |
void |
setType(java.lang.String type) |
java.lang.String |
toString()
Return a string representation of this parameter descriptor.
|
addField, addFields, getDescription, getFields, getName
public ParameterInfo()
public ParameterInfo(java.lang.String name, java.lang.String type, java.lang.String description)
name
- Name of this parametertype
- Java class of this parameterdescription
- Description of this parameterpublic void setDescription(java.lang.String description)
description
property setter.setDescription
in class FeatureInfo
description
- The new descriptionpublic void setName(java.lang.String name)
name
property setter.setName
in class FeatureInfo
name
- The new namepublic java.lang.String getType()
public void setType(java.lang.String type)
public javax.management.MBeanParameterInfo createParameterInfo()
MBeanParameterInfo
object that
corresponds to the parameter described by this instance.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.