public abstract class AbstractCollectionAttribute extends Object implements CollectionAttribute
Abstract AbstractCollectionAttribute class.
Constructor and Description |
---|
AbstractCollectionAttribute() |
Modifier and Type | Method and Description |
---|---|
abstract CollectionAttributeType |
getAttributeType()
getAttributeType
|
abstract String |
getName()
getName
|
abstract String |
getNumericValue()
getNumericValue
|
abstract CollectionResource |
getResource()
getResource
|
abstract String |
getStringValue()
getStringValue
|
protected ThreadCategory |
log()
log
|
abstract 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricIdentifier, getType
protected ThreadCategory log()
log
ThreadCategory
object.public abstract CollectionAttributeType getAttributeType()
getAttributeType
getAttributeType
in interface CollectionAttribute
CollectionAttributeType
object.public abstract String getName()
getName
getName
in interface CollectionAttribute
String
object.public abstract String getNumericValue()
getNumericValue
getNumericValue
in interface CollectionAttribute
String
object.public abstract CollectionResource getResource()
getResource
getResource
in interface CollectionAttribute
CollectionResource
object.public abstract String getStringValue()
getStringValue
getStringValue
in interface CollectionAttribute
String
object.public abstract boolean shouldPersist(ServiceParameters params)
shouldPersist
in interface CollectionAttribute
params
- a ServiceParameters
object.public void storeAttribute(Persister persister)
storeAttribute
in interface CollectionAttribute
persister
- a org.opennms.netmgt.collectd.Persister
object.public void visit(CollectionSetVisitor visitor)
visit
in interface CollectionAttribute
visitor
- a CollectionSetVisitor
object.Copyright © 2015. All Rights Reserved.