Package org.xwiki.bridge.event
Class WikiCopiedEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.bridge.event.AbstractWikiEvent
-
- org.xwiki.bridge.event.WikiCopiedEvent
-
- All Implemented Interfaces:
Serializable,WikiEvent,org.xwiki.observation.event.Event,org.xwiki.observation.event.FilterableEvent
public class WikiCopiedEvent extends AbstractWikiEvent
An event triggered after a wiki has been copied.The event also send the following parameters:
- source: the source wiki identifier as
String - data: the current {com.xpn.xwiki.XWikiContext} instance
- Since:
- 4.3M1
- Version:
- $Id: 55de3f2699f6abce9b0acd8c348bcf82aa4429e9 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiCopiedEvent()Matches allWikiCopiedEventevents.WikiCopiedEvent(String sourceWikiId, String targetWikiId)Matches events affecting the same wikis.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSourceWikiId()StringgetTargetWikiId()booleanmatches(Object otherEvent)-
Methods inherited from class org.xwiki.bridge.event.AbstractWikiEvent
getWikiId
-
-
-
-
Constructor Detail
-
WikiCopiedEvent
public WikiCopiedEvent()
Matches allWikiCopiedEventevents.
-
-
Method Detail
-
matches
public boolean matches(Object otherEvent)
- Specified by:
matchesin interfaceorg.xwiki.observation.event.Event- Overrides:
matchesin classorg.xwiki.observation.event.AbstractFilterableEvent
-
getSourceWikiId
public String getSourceWikiId()
- Returns:
- the source wiki identifier
-
getTargetWikiId
public String getTargetWikiId()
- Returns:
- the target wiki identifier
-
-