Class NotificationClient
java.lang.Object
org.bedework.calsvc.notifications.NotificationClient
- All Implemented Interfaces:
org.bedework.util.logging.Logged
Handles interactions with the bedework notification engine.
- Author:
- Mike Douglass douglm - rpi.edu
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationClient(org.bedework.calfacade.configs.NotificationProperties np) Constructor -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
NotificationClient
public NotificationClient(org.bedework.calfacade.configs.NotificationProperties np) Constructor
-
-
Method Details
-
informNotifier
- Parameters:
principalHref- owner of changed notifications
-
subscribe
- Parameters:
principalHref- identify whoemails- non-empty listuserToken- per-user token
-
unsubscribe
- Parameters:
principalHref- identify whoemails- null to remove entire subscription
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged
-