Package org.xwiki.extension.event
Class ExtensionUpgradedEvent
java.lang.Object
org.xwiki.extension.event.AbstractExtensionEvent
org.xwiki.extension.event.ExtensionUpgradedEvent
- All Implemented Interfaces:
ExtensionEvent
,EndEvent
,Event
An event triggered when a extension has been upgraded.
The event also send the following parameters:
- source: the related new
InstalledExtension
instance - data: a
java.util.Collection<org.xwiki.extension.InstalledExtension>
containing the previousInstalledExtension
instances
Implements EndEvent
since 9.2RC1.
- Since:
- 4.0M1
- Version:
- $Id: ad197f01e28191a8fa83095eb93b8c2cd783a0bf $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMatches all extensions.ExtensionUpgradedEvent
(String extensionId) Matches only the specified extension id or/and version on every namespaces.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. -
Method Summary
Methods inherited from class org.xwiki.extension.event.AbstractExtensionEvent
getExtensionId, getNamespace, hasNamespace, matches
-
Constructor Details
-
ExtensionUpgradedEvent
public ExtensionUpgradedEvent()Matches all extensions. -
ExtensionUpgradedEvent
Matches only the specified extension id or/and version.- Parameters:
extensionId
- the extension identifiernamespace
- the namespace on which the event happened
-
ExtensionUpgradedEvent
Matches only the specified extension id or/and version on every namespaces.- Parameters:
extensionId
- the extension identifier- Since:
- 9.0RC1, 8.4.2, 7.4.6
-
ExtensionUpgradedEvent
Matches only the specified extension id or/and version on every namespaces.- Parameters:
extensionId
- the extension identifier- Since:
- 9.0RC1, 8.4.2, 7.4.6
-