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