Package org.xwiki.bridge.event
Class WikiReadyEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.bridge.event.AbstractWikiEvent
-
- org.xwiki.bridge.event.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 allWikiReadyEvent
events.WikiReadyEvent(String wikiId)
Constructor initializing the event filter with aFixedNameEventFilter
, meaning that this event will match only events affecting the same wiki.WikiReadyEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a customEventFilter
.
-
Method Summary
-
Methods inherited from class org.xwiki.bridge.event.AbstractWikiEvent
getWikiId
-
Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent
equals, getEventFilter, hashCode, matches
-
-
-
-
Constructor Detail
-
WikiReadyEvent
public WikiReadyEvent()
Matches allWikiReadyEvent
events.
-
WikiReadyEvent
public WikiReadyEvent(String wikiId)
Constructor initializing the event filter with aFixedNameEventFilter
, 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 customEventFilter
.- Parameters:
eventFilter
- the filter to use for matching events
-
-