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(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 IOException, FileNotFoundException, ClassNotFoundException, SQLException, PropertyVetoExceptioninit
- Throws:
IOException- if any.FileNotFoundException- if any.ClassNotFoundException- if any.SQLException- if any.PropertyVetoException- if any.
-
reload
public void reload() throws IOExceptionreload
- Throws:
IOException- if any.
-
saveXML
protected void saveXML(String xmlString) throws IOException
saveXML
- Specified by:
saveXMLin classNotificationManager- Parameters:
xmlString- aStringobject.- Throws:
IOException- if any.
-
update
public void update() throws IOExceptionupdate
- Specified by:
updatein classNotificationManager- Throws:
IOException- if any.
-
-