public class DefaultCollectionAgentFactory extends Object implements CollectionAgentFactory
Constructor and Description |
---|
DefaultCollectionAgentFactory() |
Modifier and Type | Method and Description |
---|---|
CollectionAgent |
createCollectionAgent(OnmsIpInterface ipIf) |
CollectionAgent |
createCollectionAgent(String nodeCriteria,
InetAddress ipAddr) |
CollectionAgent |
createCollectionAgentAndOverrideLocation(String nodeCriteria,
InetAddress ipAddr,
String location)
Create a collection agent for the given IP interface, and
optionally override the node's location.
|
public CollectionAgent createCollectionAgentAndOverrideLocation(String nodeCriteria, InetAddress ipAddr, String location)
CollectionAgentFactory
createCollectionAgentAndOverrideLocation
in interface CollectionAgentFactory
nodeCriteria
- node id or fs:fidipAddr
- ip address associated with the nodelocation
- null if the nodes existing location should be usedCollectionAgent
public CollectionAgent createCollectionAgent(String nodeCriteria, InetAddress ipAddr)
createCollectionAgent
in interface CollectionAgentFactory
public CollectionAgent createCollectionAgent(OnmsIpInterface ipIf)
createCollectionAgent
in interface CollectionAgentFactory
Copyright © 2018. All rights reserved.