Package org.opennms.netmgt.config
Class NotificationFactory
- java.lang.Object
-
- org.opennms.netmgt.config.NotificationManager
-
- org.opennms.netmgt.config.NotificationFactory
-
public class NotificationFactory extends NotificationManager
NotificationFactory class.
- Version:
- $Id: $
- Author:
- ranger
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationFactorygetInstance()Getter for the fieldinstance.static voidinit()initvoidreload()reloadprotected voidsaveXML(java.lang.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
-
-
-
-
Method Detail
-
getInstance
public static NotificationFactory getInstance()
Getter for the field
instance.- Returns:
- a
NotificationFactoryobject.
-
init
public static void init() throws java.io.IOException, java.io.FileNotFoundException, java.lang.ClassNotFoundException, java.sql.SQLException, java.beans.PropertyVetoExceptioninit
- Throws:
java.io.IOException- if any.java.io.FileNotFoundException- if any.java.lang.ClassNotFoundException- if any.java.sql.SQLException- if any.java.beans.PropertyVetoException- if any.
-
reload
public void reload() throws java.io.IOExceptionreload
- Throws:
java.io.IOException- if any.
-
saveXML
protected void saveXML(java.lang.String xmlString) throws java.io.IOExceptionsaveXML
- Specified by:
saveXMLin classNotificationManager- Parameters:
xmlString- aStringobject.- Throws:
java.io.IOException- if any.
-
update
public void update() throws java.io.IOExceptionupdate
- Specified by:
updatein classNotificationManager- Throws:
java.io.IOException- if any.
-
-