public abstract class AbstractExtensionEvent extends Object implements ExtensionEvent
ExtensionEvent
.Modifier | Constructor and Description |
---|---|
|
AbstractExtensionEvent()
Default constructor.
|
protected |
AbstractExtensionEvent(ExtensionId extensionId) |
protected |
AbstractExtensionEvent(ExtensionId extensionId,
String namespace) |
Modifier and Type | Method and Description |
---|---|
ExtensionId |
getExtensionId() |
String |
getNamespace() |
boolean |
hasNamespace() |
boolean |
matches(Object event) |
public AbstractExtensionEvent()
protected AbstractExtensionEvent(ExtensionId extensionId, String namespace)
extensionId
- the event related extension identifiernamespace
- the namespace on which the event happenedprotected AbstractExtensionEvent(ExtensionId extensionId)
extensionId
- the event related extension identifierpublic ExtensionId getExtensionId()
getExtensionId
in interface ExtensionEvent
public String getNamespace()
getNamespace
in interface ExtensionEvent
public boolean hasNamespace()
hasNamespace
in interface ExtensionEvent
Copyright © 2004–2021 XWiki. All rights reserved.