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, turnNotifdOn
public static NotifdConfigFactory getInstance()
Getter for the field instance
.
NotifdConfigFactory
object.public static void init() throws IOException, FileNotFoundException
init
IOException
- if any.FileNotFoundException
- if any.public void reload() throws IOException, FileNotFoundException
reload
IOException
- if any.FileNotFoundException
- if any.public static String getPrettyStatus() throws IOException
IOException
- if any.protected void saveXml(String xml) throws IOException
saveXml
saveXml
in class NotifdConfigManager
xml
- a String
object.IOException
- if any.protected void update() throws IOException
update
update
in class NotifdConfigManager
IOException
- if any.Copyright © 2021. All rights reserved.