Class DummyNotificationRenderer
java.lang.Object
com.polarion.psvn.core.notifications.DummyNotificationRenderer
- All Implemented Interfaces:
INotificationRenderer
- Author:
- dobisekm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAnnouncement
(INotificationEvent notifEvent) createAnnouncement
(INotificationEvent notifEvent, String targetUserId)
-
Constructor Details
-
DummyNotificationRenderer
public DummyNotificationRenderer()
-
-
Method Details
-
createAnnouncement
- Specified by:
createAnnouncement
in interfaceINotificationRenderer
- Parameters:
notifEvent
- The event to render, nevernull
- Returns:
- The announcement, never
null
. The sender and receivers fields are modified before sending, therefore they don't have to be filled in. - Throws:
Exception
- If something goes wrong. The exception gets logged.
-
createAnnouncement
public Announcement createAnnouncement(INotificationEvent notifEvent, String targetUserId) throws Exception - Specified by:
createAnnouncement
in interfaceINotificationRenderer
- Parameters:
notifEvent
- The event to render, nevernull
targetUserId
- the ID of user or single email- Returns:
- The announcement, never
null
. The sender and receivers fields are modified before sending, therefore they don't have to be filled in. - Throws:
Exception
- If something goes wrong. The exception gets logged.
-