public class NotifdConfigFactory extends NotifdConfigManager
NotifdConfigFactory class.
configuration| Modifier and Type | Method and Description |
|---|---|
static NotifdConfigFactory |
getInstance()
Getter for the field
instance. |
static String |
getPrettyStatus()
Gets a nicely formatted string for the Web UI to display
|
static void |
init()
init
|
void |
reload()
reload
|
protected void |
saveXml(String xml)
saveXml
|
protected void |
update()
update
|
getAutoAcknowledges, getConfiguration, getNextNotifIdSql, getNextUserNotifIdSql, getNotificationMatch, getNotificationStatus, getOutageCalendarNames, matchNotificationParameters, parseXml, saveCurrent, turnNotifdOff, turnNotifdOnpublic static NotifdConfigFactory getInstance()
Getter for the field instance.
NotifdConfigFactory object.public static void init()
throws IOException,
FileNotFoundException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
init
IOException - if any.FileNotFoundException - if any.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.public void reload()
throws IOException,
FileNotFoundException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reload
IOException - if any.FileNotFoundException - if any.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.public static String getPrettyStatus() throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
IOException - if any.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.protected void saveXml(String xml) throws IOException
saveXml
saveXml in class NotifdConfigManagerxml - a String object.IOException - if any.protected void update()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
update
update in class NotifdConfigManagerIOException - if any.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.Copyright © 2018. All rights reserved.