Class DummyNotificationRenderer
java.lang.Object
com.polarion.psvn.core.notifications.DummyNotificationRenderer
- All Implemented Interfaces:
INotificationRenderer
@Deprecated(since="3.24.4",
forRemoval=true)
public class DummyNotificationRenderer
extends Object
implements INotificationRenderer
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- dobisekm
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptioncreateAnnouncement
(INotificationEvent notifEvent) Deprecated, for removal: This API element is subject to removal in a future version.createAnnouncement
(INotificationEvent notifEvent, String targetUserId) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DummyNotificationRenderer
public DummyNotificationRenderer()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createAnnouncement
Deprecated, for removal: This API element is subject to removal in a future version.- 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 Deprecated, for removal: This API element is subject to removal in a future version.- 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.
-