Package org.xwiki.bridge.event
Class WikiCreateFailedEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.bridge.event.AbstractWikiEvent
-
- org.xwiki.bridge.event.WikiCreateFailedEvent
-
- All Implemented Interfaces:
Serializable
,WikiEvent
,org.xwiki.observation.event.EndEvent
,org.xwiki.observation.event.Event
,org.xwiki.observation.event.FilterableEvent
public class WikiCreateFailedEvent extends AbstractWikiEvent implements org.xwiki.observation.event.EndEvent
An event triggered after trying to create a wiki if the creation failed.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: b6b8c2cec42415a6783efb9b9e925869fcd5cb40 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiCreateFailedEvent()
Matches allWikiCreateFailedEvent
events.WikiCreateFailedEvent(String wikiId)
Constructor initializing the event filter with aFixedNameEventFilter
, meaning that this event will match only events affecting the same wiki.WikiCreateFailedEvent(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
-
WikiCreateFailedEvent
public WikiCreateFailedEvent()
Matches allWikiCreateFailedEvent
events.
-
WikiCreateFailedEvent
public WikiCreateFailedEvent(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
-
WikiCreateFailedEvent
public WikiCreateFailedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a customEventFilter
.- Parameters:
eventFilter
- the filter to use for matching events
-
-