@AsynchronousPreferred @TransactionAware public class LicenseChangedEvent extends ApplicationEvent
This event is internally audited.
source
Constructor and Description |
---|
LicenseChangedEvent(Object source) |
LicenseChangedEvent(Object source,
com.atlassian.extras.api.bitbucket.BitbucketServerLicense newLicense,
com.atlassian.extras.api.bitbucket.BitbucketServerLicense previousLicense)
Allows passing in the old and new licenses optionally
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.extras.api.bitbucket.BitbucketServerLicense |
getNewLicense() |
com.atlassian.extras.api.bitbucket.BitbucketServerLicense |
getPreviousLicense() |
getDate, getUser
getSource, toString
public LicenseChangedEvent(@Nonnull Object source, @Nullable com.atlassian.extras.api.bitbucket.BitbucketServerLicense newLicense, @Nullable com.atlassian.extras.api.bitbucket.BitbucketServerLicense previousLicense)
source
- the publisher of this eventnewLicense
- new license that has been updated. Can be nullpreviousLicense
- license that existed before updating this license. Can be nullCopyright © 2020 Atlassian. All rights reserved.