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, DataSource db, String mgrString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetInterfaceFilter(String rule)protected voidsaveXML(String xmlString)saveXMLvoidupdate()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, DataSource db, String mgrString)
-
-
Method Detail
-
saveXML
protected void saveXML(String xmlString) throws IOException
Description copied from class:NotificationManagersaveXML
- Specified by:
saveXMLin classNotificationManager- Parameters:
xmlString- aStringobject.- Throws:
IOException- if any.
-
update
public void update() throws IOExceptionDescription copied from class:NotificationManagerupdate
- Specified by:
updatein classNotificationManager- Throws:
IOException- if any.
-
-