Package org.xwiki.extension.event
Class ExtensionInstallingEvent
java.lang.Object
org.xwiki.extension.event.AbstractExtensionEvent
org.xwiki.extension.event.ExtensionInstallingEvent
- All Implemented Interfaces:
ExtensionEvent
,BeginEvent
,Event
An event triggered when a extension is going to be installed.
The event also send the following parameters:
- source: the related
LocalExtension
instance - data: null
- Since:
- 9.2RC1
- Version:
- $Id: af6d0cee934e72f0f6e899efeb220c860e96c502 $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatches all extensions.ExtensionInstallingEvent
(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
-
ExtensionInstallingEvent
public ExtensionInstallingEvent()Matches all extensions. -
ExtensionInstallingEvent
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace on which the event happened
-