Package org.xwiki.extension.event
Class ExtensionUninstallingEvent
- java.lang.Object
-
- org.xwiki.extension.event.AbstractExtensionEvent
-
- org.xwiki.extension.event.ExtensionUninstallingEvent
-
- All Implemented Interfaces:
ExtensionEvent
,BeginEvent
,Event
public class ExtensionUninstallingEvent extends AbstractExtensionEvent implements BeginEvent
An event triggered when a extension is going to be uninstalled.The event also send the following parameters:
- source: the related
InstalledExtension
instance - data: null
- Since:
- 4.0M1
- Version:
- $Id: 38c079087996ecad5039e1dd0ea006879e9570e6 $
- See Also:
ExtensionUninstalledEvent
,ExtensionUninstallFailedEvent
-
-
Constructor Summary
Constructors Constructor Description ExtensionUninstallingEvent()
Matches all extensions.ExtensionUninstallingEvent(ExtensionId extensionId, String namespace)
Matches only the specified extension id or/and version.
-
Method Summary
-
Methods inherited from class org.xwiki.extension.event.AbstractExtensionEvent
getExtensionId, getNamespace, hasNamespace, matches
-
-
-
-
Constructor Detail
-
ExtensionUninstallingEvent
public ExtensionUninstallingEvent()
Matches all extensions.
-
ExtensionUninstallingEvent
public ExtensionUninstallingEvent(ExtensionId extensionId, String namespace)
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace from which the extensions has been uninstalled
-
-