Package org.xwiki.bridge.event
Class WikiProvisioningEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.bridge.event.AbstractWikiEvent
-
- org.xwiki.bridge.event.WikiProvisioningEvent
-
- 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 WikiProvisioningEvent extends AbstractWikiEvent implements org.xwiki.observation.event.BeginFoldEvent
An event triggered just before a provisioning job is started for a wiki.The event also send the following parameters:
- source: the wiki identifier as
String
- data: the current {com.xpn.xwiki.XWikiContext} instance
- Since:
- 5.3RC1
- Version:
- $Id: 49533cc128094c7c430aa53f5e0c57132f28177a $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiProvisioningEvent()
Matches allWikiProvisioningEvent
events.WikiProvisioningEvent(String wikiId)
Constructor initializing the event filter with aFixedNameEventFilter
, meaning that this event will match only events affecting the same wiki.WikiProvisioningEvent(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
-
WikiProvisioningEvent
public WikiProvisioningEvent()
Matches allWikiProvisioningEvent
events.
-
WikiProvisioningEvent
public WikiProvisioningEvent(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
-
WikiProvisioningEvent
public WikiProvisioningEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a customEventFilter
.- Parameters:
eventFilter
- the filter to use for matching events
-
-