public class ExtensionUpgradeFailedEvent extends AbstractExtensionEvent implements EndEvent
EndEvent
to close the
previous ExtensionUpgradingEvent
.
The event also send the following parameters:
LocalExtension
instancejava.util.Collection<org.xwiki.extension.InstalledExtension>
containing the previous
InstalledExtension
instancesExtensionUpgradedEvent
,
ExtensionUpgradingEvent
Constructor and Description |
---|
ExtensionUpgradeFailedEvent()
Matches all extensions.
|
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.
|
ExtensionUpgradeFailedEvent(String extensionId)
Matches only the specified extension id or/and version on every namespaces.
|
getExtensionId, getNamespace, hasNamespace, matches
public ExtensionUpgradeFailedEvent()
public ExtensionUpgradeFailedEvent(ExtensionId extensionId, String namespace)
extensionId
- the extension identifiernamespace
- the namespace on which the event happenedpublic ExtensionUpgradeFailedEvent(ExtensionId extensionId)
extensionId
- the extension identifierpublic ExtensionUpgradeFailedEvent(String extensionId)
extensionId
- the extension identifierCopyright © 2004–2021 XWiki. All rights reserved.