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
public class ExtensionUpgradeFailedEvent extends AbstractExtensionEvent implements EndEvent
An event triggered when a extension upgrade has failed. Its job is mostly to provide aEndEvent
to close the previousExtensionUpgradingEvent
.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:
ExtensionUpgradedEvent
,ExtensionUpgradingEvent
-
-
Constructor Summary
Constructors Constructor Description ExtensionUpgradeFailedEvent()
Matches 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 Detail
-
ExtensionUpgradeFailedEvent
public ExtensionUpgradeFailedEvent()
Matches all extensions.
-
ExtensionUpgradeFailedEvent
public ExtensionUpgradeFailedEvent(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
-
ExtensionUpgradeFailedEvent
public ExtensionUpgradeFailedEvent(ExtensionId extensionId)
Matches only the specified extension id or/and version on every namespaces.- Parameters:
extensionId
- the extension identifier
-
ExtensionUpgradeFailedEvent
public ExtensionUpgradeFailedEvent(String extensionId)
Matches only the specified extension id or/and version on every namespaces.- Parameters:
extensionId
- the extension identifier
-
-