Interface NotificationDisplayer


  • @Role
    public interface NotificationDisplayer
    Display a notification.
    Since:
    9.2RC1
    Version:
    $Id: 9c79cf0c228fb76eb648b25835558a7990cc4402 $
    • Method Detail

      • renderNotification

        org.xwiki.rendering.block.Block renderNotification​(CompositeEvent eventNotification)
                                                    throws NotificationException
        Render a notification.
        Parameters:
        eventNotification - the notification stored in the event stream
        Returns:
        the rendering of the notification in the page
        Throws:
        NotificationException - if error occurs
      • getSupportedEvents

        List<String> getSupportedEvents()
        Returns:
        the list of the event types that this displayer support