Class WikiDeletedEvent

  • All Implemented Interfaces:
    Serializable, WikiEvent, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent

    public class WikiDeletedEvent
    extends AbstractWikiEvent
    An event triggered after a wiki is deleted.

    The event also send the following parameters:

    • source: the wiki identifier as String
    • data: null
    Since:
    3.0M1
    Version:
    $Id: 35bb9c21466d3392388103b72f40a8844758165d $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WikiDeletedEvent()
      Matches all WikiDeletedEvent events.
      WikiDeletedEvent​(String wikiId)
      Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.
      WikiDeletedEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
      Constructor using a custom EventFilter.
    • Constructor Detail

      • WikiDeletedEvent

        public WikiDeletedEvent()
        Matches all WikiDeletedEvent events.
      • WikiDeletedEvent

        public WikiDeletedEvent​(String wikiId)
        Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.
        Parameters:
        wikiId - the wiki identifier
      • WikiDeletedEvent

        public WikiDeletedEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
        Constructor using a custom EventFilter.
        Parameters:
        eventFilter - the filter to use for matching events