public abstract class NotifdConfigManager extends Object
Abstract NotifdConfigManager class.
| Modifier and Type | Field and Description | 
|---|---|
protected NotifdConfiguration | 
configuration  | 
| Constructor and Description | 
|---|
NotifdConfigManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<AutoAcknowledge> | 
getAutoAcknowledges()
getAutoAcknowledges 
 | 
NotifdConfiguration | 
getConfiguration()
Getter for the field  
configuration. | 
String | 
getNextNotifIdSql()
getNextNotifIdSql 
 | 
String | 
getNextUserNotifIdSql()
getNextUserNotifIdSql 
 | 
boolean | 
getNotificationMatch()
getNotificationMatch 
 | 
String | 
getNotificationStatus()
getNotificationStatus 
 | 
Collection<String> | 
getOutageCalendarNames()
getOutageCalendarNames 
 | 
boolean | 
matchNotificationParameters(Event event,
                           Notification notification)
matchNotificationParameters 
 | 
void | 
parseXml(InputStream stream)
parseXml 
 | 
void | 
saveCurrent()
saveCurrent 
 | 
protected abstract void | 
saveXml(String xml)
saveXml 
 | 
void | 
turnNotifdOff()
Turns the notifd service off 
 | 
void | 
turnNotifdOn()
Turns the notifd service on 
 | 
protected abstract void | 
update()
update 
 | 
protected NotifdConfiguration configuration
public void parseXml(InputStream stream) throws IOException
parseXml
stream - a InputStream object.IOException - if any.public NotifdConfiguration getConfiguration() throws IOException
Getter for the field configuration.
NotifdConfiguration object.IOException - if any.protected abstract void update()
                        throws IOException
update
IOException - if any.public String getNotificationStatus() throws IOException
getNotificationStatus
String object.IOException - if any.public final void turnNotifdOn()
                        throws IOException
IOException - if any.public final void turnNotifdOff()
                         throws IOException
IOException - if any.public boolean getNotificationMatch()
                             throws IOException
getNotificationMatch
IOException - if any.public void saveCurrent()
                 throws IOException
saveCurrent
IOException - if any.protected abstract void saveXml(String xml) throws IOException
saveXml
xml - a String object.IOException - if any.public String getNextNotifIdSql() throws IOException
getNextNotifIdSql
String object.IOException - if any.public boolean matchNotificationParameters(Event event, Notification notification)
matchNotificationParameters
event - a Event object.notification - a Notification object.public String getNextUserNotifIdSql() throws IOException
getNextUserNotifIdSql
String object.IOException - if any.public Collection<AutoAcknowledge> getAutoAcknowledges() throws IOException
getAutoAcknowledges
Collection object.IOException - if any.public Collection<String> getOutageCalendarNames() throws IOException
getOutageCalendarNames
Collection object.IOException - if any.Copyright © 2020. All rights reserved.