Package org.xwiki.bridge.event
Class WikiDeletedEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.bridge.event.AbstractWikiEvent
-
- org.xwiki.bridge.event.WikiDeletedEvent
-
- All Implemented Interfaces:
Serializable
,WikiEvent
,org.xwiki.observation.event.Event
,org.xwiki.observation.event.FilterableEvent
public class WikiDeletedEvent extends AbstractWikiEvent
An event triggered after a wiki is deleted.The event also send the following parameters:
- source: the wiki identifier as
String
- data: null
- Since:
- 3.0M1
- Version:
- $Id: 35bb9c21466d3392388103b72f40a8844758165d $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiDeletedEvent()
Matches allWikiDeletedEvent
events.WikiDeletedEvent(String wikiId)
Constructor initializing the event filter with aFixedNameEventFilter
, meaning that this event will match only events affecting the same wiki.WikiDeletedEvent(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
-
WikiDeletedEvent
public WikiDeletedEvent()
Matches allWikiDeletedEvent
events.
-
WikiDeletedEvent
public WikiDeletedEvent(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
-
WikiDeletedEvent
public WikiDeletedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a customEventFilter
.- Parameters:
eventFilter
- the filter to use for matching events
-
-