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
public class ExtensionInstallingEvent extends AbstractExtensionEvent implements BeginEvent
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:
ExtensionInstalledEvent
,ExtensionInstallFailedEvent
-
-
Constructor Summary
Constructors Constructor Description ExtensionInstallingEvent()
Matches 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 Detail
-
ExtensionInstallingEvent
public ExtensionInstallingEvent()
Matches all extensions.
-
ExtensionInstallingEvent
public ExtensionInstallingEvent(ExtensionId extensionId, String namespace)
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace on which the event happened
-
-