public interface CollectionAttribute extends CollectionVisitable, Persistable
CollectionAttribute interface.
Modifier and Type | Method and Description |
---|---|
CollectionAttributeType |
getAttributeType()
Return the attribute type for this attribute.
|
String |
getMetricIdentifier()
Get the metric identifier for the attribute to be used for NRTG collection
|
String |
getName()
Gets the name of the attribute
|
Number |
getNumericValue()
Get the numeric value of the attribute.
|
CollectionResource |
getResource()
getResource
|
String |
getStringValue()
Get the value of the attribute as a String.
|
AttributeType |
getType()
The type of metric that the attribute represents.
|
void |
storeAttribute(Persister persister)
Stores the attribute using the persister.
|
visit
shouldPersist
CollectionResource getResource()
getResource
org.opennms.netmgt.config.collector.CollectionResource
object.String getStringValue()
Number getNumericValue()
Number
object.String getName()
String getMetricIdentifier()
void storeAttribute(Persister persister)
persister
- a org.opennms.netmgt.collectd.Persister
object.CollectionAttributeType getAttributeType()
org.opennms.netmgt.collectd.CollectionAttributeType
object.AttributeType getType()
The type of metric that the attribute represents.
AttributeType
object.Copyright © 2021. All rights reserved.