org.opennms.netmgt.collectd
Class ResourceType
java.lang.Object
org.opennms.netmgt.collectd.ResourceType
- Direct Known Subclasses:
- GenericIndexResourceType, IfAliasResourceType, IfResourceType, NodeResourceType
public abstract class ResourceType
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceType
public ResourceType(CollectionAgent agent,
OnmsSnmpCollection snmpCollection)
getAgent
public CollectionAgent getAgent()
getCollectionName
protected String getCollectionName()
getCollection
protected OnmsSnmpCollection getCollection()
getAttributeTypes
public final Collection<SnmpAttributeType> getAttributeTypes()
loadAttributeTypes
protected abstract Collection<SnmpAttributeType> loadAttributeTypes()
hasDataToCollect
protected boolean hasDataToCollect()
findResource
public abstract SnmpCollectionResource findResource(SnmpInstId inst)
findAliasedResource
public abstract SnmpCollectionResource findAliasedResource(SnmpInstId inst,
String ifAlias)
getResources
public abstract Collection<? extends SnmpCollectionResource> getResources()
log
public Category log()
Copyright © 2009. All Rights Reserved.