Class WikiCreatedEvent

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

    public class WikiCreatedEvent
    extends AbstractWikiEvent
    implements org.xwiki.observation.event.EndFoldEvent
    An event triggered after a wiki has been created.

    The event also send the following parameters:

    • source: the wiki identifier as String
    • data: the current {com.xpn.xwiki.XWikiContext} instance
    Since:
    3.0M1
    Version:
    $Id: 2ac447351c02861ca625f6bac4399cb0018e3af7 $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WikiCreatedEvent()
      Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.
      WikiCreatedEvent​(String wikiId)
      Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.
      WikiCreatedEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
      Constructor using a custom EventFilter.
    • Constructor Detail

      • WikiCreatedEvent

        public WikiCreatedEvent()
        Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.
      • WikiCreatedEvent

        public WikiCreatedEvent​(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
      • WikiCreatedEvent

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