public class SamplerCollectionAgent extends Object implements org.opennms.netmgt.collection.api.CollectionAgent
| Constructor and Description |
|---|
SamplerCollectionAgent(Agent agent) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getAddress()
getAddress
|
<V> V |
getAttribute(String property) |
String |
getForeignId()
getForeignId
|
String |
getForeignSource()
getForeignSource
|
String |
getHostAddress()
getHostAddress
|
int |
getNodeId()
getNodeId
|
String |
getNodeLabel()
getNodeLabel
|
long |
getSavedSysUpTime()
getSavedSysUpTime
|
File |
getStorageDir()
getStorageDir
|
String |
getSysObjectId()
getSysObjectId
|
int |
getType() |
Boolean |
isStoreByForeignSource()
isStoreByForeignSource
|
Object |
setAttribute(String property,
Object value) |
void |
setSavedIfCount(int ifCount)
setSavedIfCount
|
void |
setSavedSysUpTime(long sysUpTime)
setSavedSysUpTime
|
String |
toString()
toString
|
public SamplerCollectionAgent(Agent agent)
public String getNodeLabel()
getNodeLabel
getNodeLabel in interface org.opennms.netmgt.collection.api.CollectionAgentString object.public Boolean isStoreByForeignSource()
isStoreByForeignSource
isStoreByForeignSource in interface org.opennms.netmgt.collection.api.CollectionAgentBoolean object.public String getHostAddress()
getHostAddress
getHostAddress in interface org.opennms.netmgt.collection.api.CollectionAgentString object.public void setSavedIfCount(int ifCount)
setSavedIfCount
setSavedIfCount in interface org.opennms.netmgt.collection.api.CollectionAgentifCount - a int.public int getNodeId()
getNodeId
getNodeId in interface org.opennms.netmgt.collection.api.CollectionAgentpublic String getForeignSource()
getForeignSource
getForeignSource in interface org.opennms.netmgt.collection.api.CollectionAgentString object.public String getForeignId()
getForeignId
getForeignId in interface org.opennms.netmgt.collection.api.CollectionAgentString object.public File getStorageDir()
getStorageDir
getStorageDir in interface org.opennms.netmgt.collection.api.CollectionAgentFile object.public String getSysObjectId()
getSysObjectId
getSysObjectId in interface org.opennms.netmgt.collection.api.CollectionAgentString object.public String toString()
toString
public long getSavedSysUpTime()
getSavedSysUpTime
getSavedSysUpTime in interface org.opennms.netmgt.collection.api.CollectionAgentpublic void setSavedSysUpTime(long sysUpTime)
setSavedSysUpTime
setSavedSysUpTime in interface org.opennms.netmgt.collection.api.CollectionAgentsysUpTime - a long.public int getType()
getType in interface org.opennms.netmgt.poller.NetworkInterface<InetAddress>public InetAddress getAddress()
getAddress
getAddress in interface org.opennms.netmgt.poller.NetworkInterface<InetAddress>InetAddress object.public <V> V getAttribute(String property)
getAttribute in interface org.opennms.netmgt.poller.NetworkInterface<InetAddress>public Object setAttribute(String property, Object value)
setAttribute in interface org.opennms.netmgt.poller.NetworkInterface<InetAddress>Copyright © 2016. All rights reserved.