Class NodeScan.AgentScan
- java.lang.Object
-
- org.opennms.netmgt.provision.service.NodeScan.BaseAgentScan
-
- org.opennms.netmgt.provision.service.NodeScan.AgentScan
-
- All Implemented Interfaces:
NeedsContainer
,ScanProgress
- Enclosing class:
- NodeScan
public class NodeScan.AgentScan extends NodeScan.BaseAgentScan implements NeedsContainer, ScanProgress
AgentScan TODO: Make this static- Author:
- brozow
-
-
Constructor Summary
Constructors Constructor Description AgentScan(Integer nodeId, OnmsNode node, InetAddress agentAddress, String agentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detectIpAddressTable(BatchTask currentPhase)
void
detectIpInterfaceTable(BatchTask currentPhase)
void
detectPhysicalInterfaces(BatchTask currentPhase)
InetAddress
getAgentAddress()
SnmpAgentConfigFactory
getAgentConfigFactory()
String
getAgentType()
EventForwarder
getEventForwarder()
void
run(ContainerTask<?> parent)
runvoid
setNode(OnmsNode node)
String
toString()
-
Methods inherited from class org.opennms.netmgt.provision.service.NodeScan.BaseAgentScan
abort, getForeignId, getForeignSource, getNode, getNodeId, getProvisionService, getScanStamp, ipUpdater, isAborted, setSpan
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.provision.service.ScanProgress
abort, isAborted
-
-
-
-
Constructor Detail
-
AgentScan
public AgentScan(Integer nodeId, OnmsNode node, InetAddress agentAddress, String agentType)
-
-
Method Detail
-
getAgentAddress
public InetAddress getAgentAddress()
-
getAgentType
public String getAgentType()
-
setNode
public void setNode(OnmsNode node)
-
toString
public String toString()
- Overrides:
toString
in classNodeScan.BaseAgentScan
-
getEventForwarder
public EventForwarder getEventForwarder()
-
getAgentConfigFactory
public SnmpAgentConfigFactory getAgentConfigFactory()
-
detectIpAddressTable
public void detectIpAddressTable(BatchTask currentPhase)
-
detectIpInterfaceTable
public void detectIpInterfaceTable(BatchTask currentPhase)
-
detectPhysicalInterfaces
public void detectPhysicalInterfaces(BatchTask currentPhase)
-
run
public void run(ContainerTask<?> parent)
Description copied from interface:NeedsContainer
run
- Specified by:
run
in interfaceNeedsContainer
- Parameters:
parent
- aContainerTask
object.
-
-