Package org.opennms.netmgt.provision
Interface ScanContext
-
public interface ScanContextScanContext interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddressgetAgentAddress(String agentType)Return the preferred address used to talk to the agent of type type provided e.g.voidupdateSysContact(String sysContact)updateSysContactvoidupdateSysDescription(String sysDescription)updateSysDescriptionvoidupdateSysLocation(String sysLocation)updateSysLocationvoidupdateSysName(String sysName)updateSysNamevoidupdateSysObjectId(String sysObjectId)updateSysObjectId
-
-
-
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)
updateSysObjectId
- Parameters:
sysObjectId- aStringobject.
-
updateSysName
void updateSysName(String sysName)
updateSysName
- Parameters:
sysName- aStringobject.
-
updateSysDescription
void updateSysDescription(String sysDescription)
updateSysDescription
- Parameters:
sysDescription- aStringobject.
-
updateSysLocation
void updateSysLocation(String sysLocation)
updateSysLocation
- Parameters:
sysLocation- aStringobject.
-
-