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.Event, org.xwiki.observation.event.FilterableEvent
public class WikiCreatingEvent
- extends AbstractWikiEvent
- implements org.xwiki.observation.event.BeginEvent
An event triggered just before a wiki is about to be created.
- Since:
- 3.2M1
- Version:
- $Id: 387df53389bd9bf6ac9d34cbd6a8f07894d1238b $
- See Also:
- Serialized Form
|
Constructor Summary |
WikiCreatingEvent()
Constructor initializing the event filter with an
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event. |
WikiCreatingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom EventFilter. |
WikiCreatingEvent(String wikiId)
Constructor initializing the event filter with a FixedNameEventFilter,
meaning that this event will match only events affecting the same wiki. |
| Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent |
equals, getEventFilter, hashCode, matches |
| Methods inherited from interface org.xwiki.observation.event.Event |
matches |
WikiCreatingEvent
public WikiCreatingEvent()
- Constructor initializing the event filter with an
AlwaysMatchingEventFilter, meaning that this event will match any
other document delete event.
WikiCreatingEvent
public WikiCreatingEvent(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
WikiCreatingEvent
public WikiCreatingEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
- Constructor using a custom
EventFilter.
- Parameters:
eventFilter - the filter to use for matching events
Copyright © 2004-2012 XWiki. All Rights Reserved.