org.xwiki.extension.event
Class ExtensionUpgradedEvent

java.lang.Object
  extended by org.xwiki.extension.event.AbstractExtensionEvent
      extended by org.xwiki.extension.event.ExtensionUpgradedEvent
All Implemented Interfaces:
ExtensionEvent, Event

public class ExtensionUpgradedEvent
extends AbstractExtensionEvent

An event triggered when a extension has been upgraded.

Since:
4.0M1
Version:
$Id: 29e6b84b1edc1a2cf8c396825842e3c9f9d4bd2d $

Constructor Summary
ExtensionUpgradedEvent()
          Matches all extensions.
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionUpgradedEvent

public ExtensionUpgradedEvent()
Matches all extensions.


ExtensionUpgradedEvent

public ExtensionUpgradedEvent(ExtensionId extensionId,
                              String namespace)
Matches only the specified extension id or/and version.

Parameters:
extensionId - the extension identifier
namespace - the namespace on which the event happened


Copyright © 2004-2013 XWiki. All Rights Reserved.