public class

Jira6xServiceDeskPluginLicenseSupplier

extends Object
implements Supplier<T>
java.lang.Object
   ↳ com.atlassian.jira.license.Jira6xServiceDeskPluginLicenseSupplier

Class Overview

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 & migrating pre-7.0 Service Desk licenses. It is not a general-purposes SD license supplier, instead, see {@link com.atlassian.jira.license.JiraLicenseManager#getLicense(com.atlassian.application.api.ApplicationKey).

Summary

Public Constructors
@Inject Jira6xServiceDeskPluginLicenseSupplier(ApplicationProperties applicationProperties, LicenseDetailsFactory licenseDetailsFactory)
Public Methods
Option<LicenseDetails> get()
void moveToUpgradeStore()
Move the license from the UPM store into a location for upgrade.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.cache.Supplier

Public Constructors

@Inject public Jira6xServiceDeskPluginLicenseSupplier (ApplicationProperties applicationProperties, LicenseDetailsFactory licenseDetailsFactory)

Public Methods

public Option<LicenseDetails> get ()

See Also
  • com.atlassian.jira.upgrade.tasks.role.Move6xServiceDeskLicenseTo70Store

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.

See Also
  • {@link Jira6xServiceDeskPluginEncodedLicenseSupplier} for details.