Class WikiCreatingEvent

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

    public class WikiCreatingEvent
    extends AbstractWikiEvent
    implements org.xwiki.observation.event.BeginFoldEvent
    An event triggered just before a wiki is about to be created.

    The event also send the following parameters:

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

      • WikiCreatingEvent

        public WikiCreatingEvent()
        Matches all WikiCreatingEvent events.
      • WikiCreatingEvent

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

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