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<AttributeType> getAttributeTypes()
loadAttributeTypes
protected abstract Collection<AttributeType> loadAttributeTypes()
hasDataToCollect
protected boolean hasDataToCollect()
findResource
public abstract CollectionResource findResource(org.opennms.netmgt.snmp.SnmpInstId inst)
findAliasedResource
public abstract CollectionResource findAliasedResource(org.opennms.netmgt.snmp.SnmpInstId inst,
String ifAlias)
getResources
public abstract Collection<? extends CollectionResource> getResources()
log
public Category log()
Copyright ? 2007. All Rights Reserved.