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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionMatches 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 Details
-
ExtensionUninstallingEvent
public ExtensionUninstallingEvent()Matches all extensions. -
ExtensionUninstallingEvent
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace from which the extensions has been uninstalled
-