Package org.xwiki.bridge.event
Class WikiCreatedEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.bridge.event.AbstractWikiEvent
-
- org.xwiki.bridge.event.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 anAlwaysMatchingEventFilter, meaning that this event will match any other document delete event.WikiCreatedEvent(String wikiId)Constructor initializing the event filter with aFixedNameEventFilter, meaning that this event will match only events affecting the same wiki.WikiCreatedEvent(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
-
WikiCreatedEvent
public WikiCreatedEvent()
Constructor initializing the event filter with anAlwaysMatchingEventFilter, meaning that this event will match any other document delete event.
-
WikiCreatedEvent
public WikiCreatedEvent(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
-
WikiCreatedEvent
public WikiCreatedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a customEventFilter.- Parameters:
eventFilter- the filter to use for matching events
-
-