Package org.xwiki.extension.event
Class ExtensionUpgradeFailedEvent
java.lang.Object
org.xwiki.extension.event.AbstractExtensionEvent
org.xwiki.extension.event.ExtensionUpgradeFailedEvent
- All Implemented Interfaces:
ExtensionEvent
,EndEvent
,Event
An event triggered when a extension upgrade has failed. Its job is mostly to provide a
EndEvent
to close the
previous ExtensionUpgradingEvent
.
The event also send the following parameters:
- source: the related new
LocalExtension
instance - data: a
java.util.Collection<org.xwiki.extension.InstalledExtension>
containing the previousInstalledExtension
instances
- Since:
- 9.2RC1
- Version:
- $Id: f155fa12a8a9f30a16bb03a68b3072e83d5e976f $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatches all extensions.ExtensionUpgradeFailedEvent
(String extensionId) Matches only the specified extension id or/and version on every namespaces.ExtensionUpgradeFailedEvent
(ExtensionId extensionId) Matches only the specified extension id or/and version on every namespaces.ExtensionUpgradeFailedEvent
(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
-
ExtensionUpgradeFailedEvent
public ExtensionUpgradeFailedEvent()Matches all extensions. -
ExtensionUpgradeFailedEvent
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace on which the event happened
-
ExtensionUpgradeFailedEvent
Matches only the specified extension id or/and version on every namespaces.- Parameters:
extensionId
- the extension identifier
-
ExtensionUpgradeFailedEvent
Matches only the specified extension id or/and version on every namespaces.- Parameters:
extensionId
- the extension identifier
-