Interface RecordableEventDescriptor

  • All Known Subinterfaces:
    UntypedRecordableEventDescriptor
    All Known Implementing Classes:
    AbstractRecordableEventDescriptor

    @Role
    public interface RecordableEventDescriptor
    Provide a description for a specific implementation of RecordableEvent so that users can know what the event is about.
    Since:
    9.2RC1
    Version:
    $Id: 9a760f00fdf1dc49ba298ef4fde896b86eff4ecd $
    • Method Detail

      • getEventType

        String getEventType()
        Returns:
        the name of the event described by the descriptor, as it is stored in the event stream.
      • getApplicationId

        default String getApplicationId()
        Returns:
        the id of the application that provide this event
        Since:
        9.6RC1
      • getApplicationName

        String getApplicationName()
        Returns:
        the name of the application that provide this event
      • getDescription

        String getDescription()
        Returns:
        the description of the event type
      • getApplicationIcon

        String getApplicationIcon()
        Returns:
        the icon corresponding to the application
      • getEventTypeIcon

        default String getEventTypeIcon()
        Returns:
        the id of the application that provide this event
        Since:
        9.10RC1
      • isEnabled

        default boolean isEnabled​(String wikiId)
        Parameters:
        wikiId - id of the wiki
        Returns:
        either or not the descriptor is enabled in the given wiki
        Since:
        10.5RC1, 9.11.6
      • getEventTitle

        default String getEventTitle()
        Returns:
        the title of the event to be used in notifications. The returned value should be preferably a translation key.
        Since:
        12.9RC1