Package org.xwiki.extension.event
Class ExtensionInstalledEvent
java.lang.Object
org.xwiki.extension.event.AbstractExtensionEvent
org.xwiki.extension.event.ExtensionInstalledEvent
- All Implemented Interfaces:
ExtensionEvent
,EndEvent
,Event
An event triggered when a extension has been installed.
The event also send the following parameters:
- source: the related
InstalledExtension
instance - data: null
Implements EndEvent
since 9.2RC1.
- Since:
- 4.0M1
- Version:
- $Id: 9f4bbcda128b9a57e8398fd7a8c112cd02a61a9b $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatches all extensions.ExtensionInstalledEvent
(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
-
ExtensionInstalledEvent
public ExtensionInstalledEvent()Matches all extensions. -
ExtensionInstalledEvent
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace on which the event happened
-