public interface CollectionAttribute
CollectionAttribute interface.
Modifier and Type | Method and Description |
---|---|
CollectionAttributeType |
getAttributeType()
Return the attribute type for this attribute.
|
String |
getName()
Gets the name of the attribute
|
String |
getNumericValue()
Get the numeric value of the attribute, as a String.
|
CollectionResource |
getResource()
getResource
|
String |
getStringValue()
Get the value of the attribute as a String.
|
String |
getType()
Returns type of value (typically one of "counter", "gauge", "timeticks", "integer", "octetstring" - see NumericAttributeType)
|
boolean |
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted.
|
void |
storeAttribute(Persister persister)
Stores the attribute using the persister.
|
void |
visit(CollectionSetVisitor visitor)
Visit this attribute
|
CollectionResource getResource()
getResource
CollectionResource
object.String getStringValue()
String getNumericValue()
String getName()
void storeAttribute(Persister persister)
persister
- a org.opennms.netmgt.collectd.Persister
object.boolean shouldPersist(ServiceParameters params)
params
- a ServiceParameters
object.CollectionAttributeType getAttributeType()
org.opennms.netmgt.collectd.CollectionAttributeType
object.void visit(CollectionSetVisitor visitor)
visitor
- a CollectionSetVisitor
object.String getType()
Copyright © 2015. All Rights Reserved.