public class DefaultCollectionAgentService extends Object implements CollectionAgentService
Modifier | Constructor and Description |
---|---|
protected |
DefaultCollectionAgentService(Integer ifaceId,
IpInterfaceDao ifaceDao) |
Modifier and Type | Method and Description |
---|---|
static CollectionAgentService |
create(Integer ifaceId,
IpInterfaceDao ifaceDao,
org.springframework.transaction.PlatformTransactionManager transMgr)
create
|
String |
getForeignId()
getForeignId
|
String |
getForeignSource()
getForeignSource
|
String |
getHostAddress()
getHostAddress
|
InetAddress |
getInetAddress()
getInetAddress
|
protected OnmsIpInterface |
getIpInterface() |
String |
getLocationName()
getLocationName
|
int |
getNodeId()
getNodeId
|
String |
getNodeLabel()
getNodeLabel
|
ResourcePath |
getStorageResourcePath()
getStorageDir
|
String |
toString()
toString
|
protected DefaultCollectionAgentService(Integer ifaceId, IpInterfaceDao ifaceDao)
public static CollectionAgentService create(Integer ifaceId, IpInterfaceDao ifaceDao, org.springframework.transaction.PlatformTransactionManager transMgr)
create
ifaceId
- a Integer
object.ifaceDao
- a IpInterfaceDao
object.transMgr
- a PlatformTransactionManager
object.org.opennms.netmgt.collectd.CollectionAgentService
object.protected final OnmsIpInterface getIpInterface()
public final String getHostAddress()
getHostAddress
getHostAddress
in interface CollectionAgentService
String
object.public final int getNodeId()
getNodeId
getNodeId
in interface CollectionAgentService
public final String getNodeLabel()
getNodeLabel
getNodeLabel
in interface CollectionAgentService
String
object.public final String getForeignSource()
getForeignSource
getForeignSource
in interface CollectionAgentService
String
object.public final String getForeignId()
getForeignId
getForeignId
in interface CollectionAgentService
String
object.public final String getLocationName()
CollectionAgentService
getLocationName
getLocationName
in interface CollectionAgentService
String
object.public final ResourcePath getStorageResourcePath()
getStorageDir
getStorageResourcePath
in interface CollectionAgentService
File
object.public String toString()
toString
public final InetAddress getInetAddress()
getInetAddress
getInetAddress
in interface CollectionAgentService
InetAddress
object.Copyright © 2018. All rights reserved.