Package com.atlassian.sal.api.license
Interface LicenseChangedEvent
public interface LicenseChangedEvent
This event gets thrown whenever the host application license changes. This includes additions, updates, and removals.
This event will get fired once per license key involved in a change; in other words, if multiple products are licensed from a single newly-added license key, only a single event would be fired.
- Since:
- v3.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the newly set license.Returns the previously set license.
-
Method Details
-
getPreviousLicense
Returns the previously set license. Will return null when adding a license.- Returns:
- the previously set license.
-
getNewLicense
Returns the newly set license. Will return null when removing a license.- Returns:
- the newly set license.
-