public class AddonInstalledEvent extends ApplicationEvent
To listen to this event, use the EventListener annotation:
@EventListener public void addonInstalled(AddonInstalledEvent event) { ... }
NOTE: This event is fired asynchronously and cannot affect the HTTP response returned to the Atlassian host.
source| Constructor and Description |
|---|
AddonInstalledEvent(Object source,
AtlassianHost host)
Creates a new event.
|
| Modifier and Type | Method and Description |
|---|---|
AtlassianHost |
getHost()
Returns the host for which the event occurred.
|
String |
toString() |
getTimestampgetSourcepublic AddonInstalledEvent(Object source, AtlassianHost host)
source - the object on which the event initially occurred (never null)host - the host for which the event occurredpublic AtlassianHost getHost()
public String toString()
toString in class EventObjectCopyright © 2020 Atlassian. All rights reserved.