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