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 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 previous InstalledExtension instances
Since:
9.2RC1
Version:
$Id: f155fa12a8a9f30a16bb03a68b3072e83d5e976f $
See Also:
  • Constructor Details

    • 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 identifier
      namespace - 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