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