public final class LicenseChangedEvent extends Object
Modifier and Type | Field and Description |
---|---|
io.atlassian.fugue.Option<? extends LicenseDetails> |
newLicenseDetails
The details of the new license.
|
io.atlassian.fugue.Option<? extends LicenseDetails> |
previousLicenseDetails
The details of the previous license.
|
Constructor and Description |
---|
LicenseChangedEvent(io.atlassian.fugue.Option<? extends LicenseDetails> previousLicenseDetails,
io.atlassian.fugue.Option<? extends LicenseDetails> newLicenseDetails) |
Modifier and Type | Method and Description |
---|---|
io.atlassian.fugue.Option<? extends LicenseDetails> |
getNewLicenseDetails()
Get new license details
|
io.atlassian.fugue.Option<? extends LicenseDetails> |
getPreviousLicenseDetails()
Get previous license details
|
boolean |
isLicenseRemoved()
Determines whether this event is a remove license event (license removed)
|
boolean |
isLicenseUpdated()
Determines whether this event is a update license event (license update)
|
boolean |
isNewLicense()
Determines whether this event is a new license event (new license added)
|
String |
toString() |
public final io.atlassian.fugue.Option<? extends LicenseDetails> previousLicenseDetails
public final io.atlassian.fugue.Option<? extends LicenseDetails> newLicenseDetails
public LicenseChangedEvent(@Nonnull io.atlassian.fugue.Option<? extends LicenseDetails> previousLicenseDetails, @Nonnull io.atlassian.fugue.Option<? extends LicenseDetails> newLicenseDetails)
public final io.atlassian.fugue.Option<? extends LicenseDetails> getNewLicenseDetails()
public final io.atlassian.fugue.Option<? extends LicenseDetails> getPreviousLicenseDetails()
public boolean isNewLicense()
public boolean isLicenseUpdated()
public boolean isLicenseRemoved()
Copyright © 2002-2024 Atlassian. All Rights Reserved.