org.opennms.netmgt.provision
Interface ScanContext


public interface ScanContext


Method Summary
 InetAddress getAgentAddress(String agentType)
          Return the preferred address used to talk to the agent of type type provided e.g.
 void updateSysContact(String sysContact)
           
 void updateSysDescription(String sysDescription)
           
 void updateSysLocation(String sysLocation)
           
 void updateSysName(String sysName)
           
 void updateSysObjectId(String sysObjectId)
           
 

Method Detail

getAgentAddress

InetAddress getAgentAddress(String agentType)
Return the preferred address used to talk to the agent of type type provided e.g. use getAgentAddress("SNMP") to find the InetAddress for the SNMP Agent for the node being scanned.

Parameters:
agentType - the type of agent to search for
Returns:
the InetAddress for the agent or null if no such agent exists

updateSysObjectId

void updateSysObjectId(String sysObjectId)

updateSysName

void updateSysName(String sysName)

updateSysDescription

void updateSysDescription(String sysDescription)

updateSysLocation

void updateSysLocation(String sysLocation)

updateSysContact

void updateSysContact(String sysContact)


Copyright © 2009. All Rights Reserved.