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