Class NewSuspectScan
- java.lang.Object
-
- org.opennms.netmgt.provision.service.NewSuspectScan
-
- All Implemented Interfaces:
RunInBatch
,Scan
public class NewSuspectScan extends Object implements Scan
NewSuspectScan class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description NewSuspectScan(InetAddress ipAddress, ProvisionService provisionService, EventForwarder eventForwarder, SnmpAgentConfigFactory agentConfigFactory, TaskCoordinator taskCoordinator, String foreignSource, String location, ProvisionMonitor monitor)
Constructor for NewSuspectScan.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Task
createTask()
protected void
reparentNodes(BatchTask batch, Integer nodeId)
reparentNodesvoid
run(BatchTask phase)
runprotected void
scanUndiscoveredNode(BatchTask phase, ProvisionMonitor monitor)
scanUndiscoveredNode
-
-
-
Constructor Detail
-
NewSuspectScan
public NewSuspectScan(InetAddress ipAddress, ProvisionService provisionService, EventForwarder eventForwarder, SnmpAgentConfigFactory agentConfigFactory, TaskCoordinator taskCoordinator, String foreignSource, String location, ProvisionMonitor monitor)
Constructor for NewSuspectScan.
- Parameters:
ipAddress
- aInetAddress
object.provisionService
- aProvisionService
object.eventForwarder
- aEventForwarder
object.agentConfigFactory
- aSnmpAgentConfigFactory
object.taskCoordinator
- aTaskCoordinator
object.monitor
- aProvisionMonitor
object. (optional)
-
-
Method Detail
-
createTask
public Task createTask()
- Specified by:
createTask
in interfaceScan
-
run
public void run(BatchTask phase)
run
- Specified by:
run
in interfaceRunInBatch
- Parameters:
phase
- aBatchTask
object.
-
scanUndiscoveredNode
protected void scanUndiscoveredNode(BatchTask phase, ProvisionMonitor monitor)
scanUndiscoveredNode
- Parameters:
phase
- aBatchTask
object.monitor
- aProvisionMonitor
object. (optional)
-
-