Package org.xwiki.extension.event
Class ExtensionInstallFailedEvent
- java.lang.Object
-
- org.xwiki.extension.event.AbstractExtensionEvent
-
- org.xwiki.extension.event.ExtensionInstallFailedEvent
-
- All Implemented Interfaces:
ExtensionEvent
,EndEvent
,Event
public class ExtensionInstallFailedEvent extends AbstractExtensionEvent implements EndEvent
An event triggered when a extension install has failed. Its job is mostly to provide aEndEvent
to close the previousExtensionInstallingEvent
.The event also send the following parameters:
- source: the related
LocalExtension
instance - data: null
- Since:
- 9.2RC1
- Version:
- $Id: db0704f5f704eddeefe8eeefcca452074fc40ae2 $
- See Also:
ExtensionInstalledEvent
,ExtensionInstallingEvent
-
-
Constructor Summary
Constructors Constructor Description ExtensionInstallFailedEvent()
Matches all extensions.ExtensionInstallFailedEvent(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
-
ExtensionInstallFailedEvent
public ExtensionInstallFailedEvent()
Matches all extensions.
-
ExtensionInstallFailedEvent
public ExtensionInstallFailedEvent(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
-
-