|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.collectd.SnmpCollectionResource
org.opennms.netmgt.collectd.NodeInfo
public final class NodeInfo
This class encapsulates all of the node-level data required by the SNMP data collector in order to successfully perform data collection for a scheduled primary SNMP interface.
| Constructor Summary | |
|---|---|
NodeInfo(NodeResourceType def,
CollectionAgent agent)
Constructor for NodeInfo. |
|
| Method Summary | |
|---|---|
protected SNMPCollectorEntry |
getEntry()
getEntry |
String |
getInstance()
getInstance |
String |
getLabel()
getLabel |
File |
getResourceDir(RrdRepository repository)
getResourceDir |
String |
getResourceTypeName()
getResourceTypeName |
int |
getType()
getType |
void |
setEntry(SNMPCollectorEntry nodeEntry)
setEntry |
boolean |
shouldPersist(ServiceParameters params)
shouldPersist |
String |
toString()
toString |
| Methods inherited from class org.opennms.netmgt.collectd.SnmpCollectionResource |
|---|
getCollectionAgent, getGroups, getOwnerName, getResourceType, log, rescanNeeded, setAttributeValue, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeInfo(NodeResourceType def,
CollectionAgent agent)
Constructor for NodeInfo.
def - a NodeResourceType object.agent - a CollectionAgent object.| Method Detail |
|---|
public int getType()
getType
getType in interface CollectionResourcegetType in class SnmpCollectionResourcepublic File getResourceDir(RrdRepository repository)
getResourceDir
getResourceDir in interface ResourceIdentifiergetResourceDir in class SnmpCollectionResourcerepository - a RrdRepository object.
File object.public String toString()
toString
toString in class ObjectString object.public void setEntry(SNMPCollectorEntry nodeEntry)
setEntry
nodeEntry - a SNMPCollectorEntry object.protected SNMPCollectorEntry getEntry()
getEntry
SNMPCollectorEntry object.public boolean shouldPersist(ServiceParameters params)
shouldPersist
shouldPersist in interface CollectionResourceshouldPersist in class SnmpCollectionResourceparams - a ServiceParameters object.
public String getResourceTypeName()
getResourceTypeName
String object.public String getInstance()
getInstance
String object.public String getLabel()
getLabel
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||