Package org.opennms.netmgt.provision
Interface ScanContext
-
public interface ScanContext
ScanContext interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddress
getAgentAddress(String agentType)
Return the preferred address used to talk to the agent of type type provided e.g.void
updateSysContact(String sysContact)
updateSysContactvoid
updateSysDescription(String sysDescription)
updateSysDescriptionvoid
updateSysLocation(String sysLocation)
updateSysLocationvoid
updateSysName(String sysName)
updateSysNamevoid
updateSysObjectId(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
- aString
object.
-
updateSysName
void updateSysName(String sysName)
updateSysName
- Parameters:
sysName
- aString
object.
-
updateSysDescription
void updateSysDescription(String sysDescription)
updateSysDescription
- Parameters:
sysDescription
- aString
object.
-
updateSysLocation
void updateSysLocation(String sysLocation)
updateSysLocation
- Parameters:
sysLocation
- aString
object.
-
-