Class SaveOrUpdateOperation
- java.lang.Object
-
- org.opennms.netmgt.provision.service.operations.ImportOperation
-
- org.opennms.netmgt.provision.service.operations.SaveOrUpdateOperation
-
- Direct Known Subclasses:
InsertOperation
,UpdateOperation
public abstract class SaveOrUpdateOperation extends ImportOperation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.provision.service.operations.ImportOperation
ImportOperation.OperationType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
foundAsset(String name, String value)
foundAssetvoid
foundCategory(String name)
foundCategoryvoid
foundInterface(String ipAddr, Object descr, PrimaryType primaryType, boolean managed, int status)
foundInterfacevoid
foundInterfaceMetaData(String context, String key, String value)
void
foundMonitoredService(String serviceName)
foundMonitoredServicevoid
foundNodeMetaData(String context, String key, String value)
void
foundServiceMetaData(String context, String key, String value)
String
getMonitorKey()
protected OnmsNode
getNode()
getNodeImportOperation.OperationType
getOperationType()
protected String
getRescanExisting()
ScanManager
getScanManager()
getScanManagervoid
scan()
scanprotected void
updateSnmpData()
updateSnmpData-
Methods inherited from class org.opennms.netmgt.provision.service.operations.ImportOperation
doPersist, getProvisionService, persist
-
-
-
-
Method Detail
-
getScanManager
public ScanManager getScanManager()
getScanManager
- Returns:
- a
ScanManager
object.
-
foundInterface
public void foundInterface(String ipAddr, Object descr, PrimaryType primaryType, boolean managed, int status)
foundInterface
-
scan
public void scan()
scan
- Specified by:
scan
in classImportOperation
-
updateSnmpData
protected void updateSnmpData()
updateSnmpData
-
foundMonitoredService
public void foundMonitoredService(String serviceName)
foundMonitoredService
- Parameters:
serviceName
- aString
object.
-
foundCategory
public void foundCategory(String name)
foundCategory
- Parameters:
name
- aString
object.
-
getRescanExisting
protected String getRescanExisting()
-
getMonitorKey
public String getMonitorKey()
-
foundInterfaceMetaData
public void foundInterfaceMetaData(String context, String key, String value)
-
getOperationType
public ImportOperation.OperationType getOperationType()
- Specified by:
getOperationType
in classImportOperation
-
-