Interface NotificationRenderer


  • @Role
    public interface NotificationRenderer
    Render an event as a notification.
    Since:
    9.2RC1
    Version:
    $Id: 2be73a5f8d0a11849a4a4247fb1cecfb4383f849 $
    • Method Detail

      • render

        org.xwiki.rendering.block.Block render​(CompositeEvent event)
                                        throws NotificationException
        Generate a rendering Block for a given event to display as notification.
        Parameters:
        event - the event to render
        Returns:
        a rendering block ready to display the event
        Throws:
        NotificationException - if an error happens