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 NotificationFactory
getInstance()
Getter for the fieldinstance
.static void
init()
initvoid
reload()
reloadprotected 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
-
-
-
-
Method Detail
-
getInstance
public static NotificationFactory getInstance()
Getter for the field
instance
.- Returns:
- a
NotificationFactory
object.
-
init
public static void init() throws java.io.IOException, java.io.FileNotFoundException, java.lang.ClassNotFoundException, java.sql.SQLException, java.beans.PropertyVetoException
init
- 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.IOException
reload
- Throws:
java.io.IOException
- if any.
-
saveXML
protected void saveXML(java.lang.String xmlString) throws java.io.IOException
saveXML
- Specified by:
saveXML
in classNotificationManager
- Parameters:
xmlString
- aString
object.- Throws:
java.io.IOException
- if any.
-
update
public void update() throws java.io.IOException
update
- Specified by:
update
in classNotificationManager
- Throws:
java.io.IOException
- if any.
-
-