public final class NodeInfo extends SnmpCollectionResource
RESOURCE_TYPE_IF, RESOURCE_TYPE_NODE
Constructor and Description |
---|
NodeInfo(NodeResourceType def,
CollectionAgent agent)
Constructor for NodeInfo.
|
Modifier and Type | Method and Description |
---|---|
protected SNMPCollectorEntry |
getEntry()
getEntry
|
String |
getInstance()
getInstance
|
String |
getInterfaceLabel()
getLabel
|
String |
getParent()
Returns the name of the parent resource.
|
Path |
getPath()
Retrieves path for the resource, relative to the root of the
associated
RrdRepository . |
String |
getResourceTypeName()
getResourceTypeName
|
int |
getSnmpIfType()
getType
|
void |
setEntry(SNMPCollectorEntry nodeEntry)
setEntry
|
boolean |
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted.
|
String |
toString()
toString
|
getCollectionAgent, getGroups, getGroupType, getOwnerName, getResourceType, getStringAttributes, getTimeKeeper, rescanNeeded, setAttributeValue, visit
public NodeInfo(NodeResourceType def, CollectionAgent agent)
Constructor for NodeInfo.
def
- a NodeResourceType
object.agent
- a CollectionAgent
object.public int getSnmpIfType()
getType
getSnmpIfType
in class SnmpCollectionResource
public Path getPath()
RrdRepository
.Path
object.public String toString()
toString
public void setEntry(SNMPCollectorEntry nodeEntry)
setEntry
nodeEntry
- a SNMPCollectorEntry
object.protected SNMPCollectorEntry getEntry()
getEntry
SNMPCollectorEntry
object.public boolean shouldPersist(ServiceParameters params)
shouldPersist
in interface Persistable
shouldPersist
in class SnmpCollectionResource
params
- a ServiceParameters
object.public String getResourceTypeName()
getResourceTypeName
String
object.public String getParent()
CollectionResource
String
object.Copyright © 2017. All rights reserved.