org.xwiki.bridge.event
Class WikiCreatedEvent

java.lang.Object
  extended by org.xwiki.observation.event.AbstractFilterableEvent
      extended by org.xwiki.bridge.event.AbstractWikiEvent
          extended by org.xwiki.bridge.event.WikiCreatedEvent
All Implemented Interfaces:
Serializable, WikiEvent, EndEvent, Event, FilterableEvent

public class WikiCreatedEvent
extends AbstractWikiEvent
implements EndEvent

An event triggered after a wiki has been created.

Since:
3.0M1
See Also:
Serialized Form

Constructor Summary
WikiCreatedEvent()
          Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.
WikiCreatedEvent(EventFilter eventFilter)
          Constructor using a custom EventFilter.
WikiCreatedEvent(String wikiId)
          Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xwiki.observation.event.Event
matches
 

Constructor Detail

WikiCreatedEvent

public WikiCreatedEvent()
Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other document delete event.


WikiCreatedEvent

public WikiCreatedEvent(String wikiId)
Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events affecting the same wiki.

Parameters:
wikiId - the wiki identifier

WikiCreatedEvent

public WikiCreatedEvent(EventFilter eventFilter)
Constructor using a custom EventFilter.

Parameters:
eventFilter - the filter to use for matching events