Class WikiReadyEvent

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

    public class WikiReadyEvent
    extends AbstractWikiEvent
    An event triggered when a (sub)wiki is ready to service requests.

    The event also send the following parameters:

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

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

      • WikiReadyEvent

        public WikiReadyEvent()
        Matches all WikiReadyEvent events.
      • WikiReadyEvent

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

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