Package com.atlassian.jira.license
Class Jira6xServiceDeskPluginLicenseSupplier
java.lang.Object
com.atlassian.jira.license.Jira6xServiceDeskPluginLicenseSupplier
- All Implemented Interfaces:
com.atlassian.cache.Supplier<io.atlassian.fugue.Option<LicenseDetails>>,Supplier<io.atlassian.fugue.Option<LicenseDetails>>
public class Jira6xServiceDeskPluginLicenseSupplier
extends Object
implements com.atlassian.cache.Supplier<io.atlassian.fugue.Option<LicenseDetails>>
Supplies a plugin license for Service Desk version 1 or 2.
NOTE: This class is intended to be used solely for the purposes of checking invalid input: '&' migrating pre-7.0
Service Desk licenses. It is not a general-purposes SD license supplier, instead, see
invalid @link
{@link com.atlassian.jira.license.JiraLicenseManager#getLicense(com.atlassian.application.api.ApplicationKey).
- Since:
- 7.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJira6xServiceDeskPluginLicenseSupplier(ApplicationProperties applicationProperties, LicenseDetailsFactory licenseDetailsFactory) -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Option<LicenseDetails> get()voidMove the license from the UPM store into a location for upgrade.
-
Constructor Details
-
Jira6xServiceDeskPluginLicenseSupplier
@Inject public Jira6xServiceDeskPluginLicenseSupplier(@Nonnull ApplicationProperties applicationProperties, @Nonnull LicenseDetailsFactory licenseDetailsFactory)
-
-
Method Details
-
get
- Specified by:
getin interfacecom.atlassian.cache.Supplier<io.atlassian.fugue.Option<LicenseDetails>>- Specified by:
getin interfaceSupplier<io.atlassian.fugue.Option<LicenseDetails>>- See Also:
-
moveToUpgradeStore
public void moveToUpgradeStore()Move the license from the UPM store into a location for upgrade. This logically removes the license from JIRA but leaves it accessible to upgrade tasks.
-