public class ExtensionUpgradedEvent extends AbstractExtensionEvent
The event also send the following parameters:
InstalledExtension instancejava.util.Collection<org.xwiki.extension.InstalledExtension> containing the previous
InstalledExtension instances| 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, matchespublic 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–2017 XWiki. All rights reserved.