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 Details

    • DummyNotificationRenderer

      public DummyNotificationRenderer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • createAnnouncement

      public Announcement createAnnouncement(INotificationEvent notifEvent) throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createAnnouncement in interface INotificationRenderer
      Parameters:
      notifEvent - The event to render, never null
      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 interface INotificationRenderer
      Parameters:
      notifEvent - The event to render, never null
      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.