Package org.opennms.netmgt.config.mock
Class MockNotificationManager
- java.lang.Object
-
- org.opennms.netmgt.config.NotificationManager
-
- org.opennms.netmgt.config.mock.MockNotificationManager
-
public class MockNotificationManager extends NotificationManager
- Author:
- david
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.config.NotificationManager
m_notifications, PARAM_DESTINATION, PARAM_EMAIL, PARAM_HOME_PHONE, PARAM_INTERFACE, PARAM_MICROBLOG_USERNAME, PARAM_MOBILE_PHONE, PARAM_NODE, PARAM_NUM_MSG, PARAM_NUM_PAGER_PIN, PARAM_PAGER_EMAIL, PARAM_RESPONSE, PARAM_SERVICE, PARAM_SUBJECT, PARAM_TEXT_MSG, PARAM_TEXT_PAGER_PIN, PARAM_TUI_PIN, PARAM_TYPE, PARAM_WORK_PHONE, PARAM_XMPP_ADDRESS
-
-
Constructor Summary
Constructors Constructor Description MockNotificationManager(NotifdConfigManager configManager, javax.sql.DataSource db, java.lang.String mgrString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getInterfaceFilter(java.lang.String rule)
protected void
saveXML(java.lang.String xmlString)
saveXMLvoid
update()
update-
Methods inherited from class org.opennms.netmgt.config.NotificationManager
acknowledgeNotice, acknowledgeNoticeBasedOnAlarms, addNotification, addNotificationParams, expandNotifParms, forEachUserNotification, getActiveNodes, getBinaryNoticesAttempted, getBinaryNoticesFailed, getBinaryNoticesInterrupted, getBinaryNoticesSucceeded, getConfigManager, getEvent, getJavaNoticesAttempted, getJavaNoticesFailed, getJavaNoticesInterrupted, getJavaNoticesSucceeded, getNoticeId, getNotifForEvent, getNotification, getNotificationNames, getNotifications, getNotificationTasksQueued, getQueueForNotification, getServiceNames, getServiceNoticeStatus, getUnknownNoticesInterrupted, getUserNotifId, hasUei, incrementAttempted, incrementFailed, incrementInterrupted, incrementSucceeded, incrementTasksQueued, incrementUnknownInterrupted, insertNotice, nodeInterfaceServiceValid, noticeOutstanding, parseXML, parseXML, rebuildParameterMap, removeNotification, replaceNotification, saveCurrent, updateNoticeWithUserInfo, updateStatus
-
-
-
-
Constructor Detail
-
MockNotificationManager
public MockNotificationManager(NotifdConfigManager configManager, javax.sql.DataSource db, java.lang.String mgrString)
-
-
Method Detail
-
saveXML
protected void saveXML(java.lang.String xmlString) throws java.io.IOException
Description copied from class:NotificationManager
saveXML
- Specified by:
saveXML
in classNotificationManager
- Parameters:
xmlString
- aString
object.- Throws:
java.io.IOException
- if any.
-
update
public void update() throws java.io.IOException
Description copied from class:NotificationManager
update
- Specified by:
update
in classNotificationManager
- Throws:
java.io.IOException
- if any.
-
getInterfaceFilter
protected java.lang.String getInterfaceFilter(java.lang.String rule)
-
-