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 Details

  • Method Details

    • get

      public io.atlassian.fugue.Option<LicenseDetails> get()
      Specified by:
      get in interface com.atlassian.cache.Supplier<io.atlassian.fugue.Option<LicenseDetails>>
      Specified by:
      get in interface Supplier<io.atlassian.fugue.Option<LicenseDetails>>
      See Also:
      • Move6xServiceDeskLicenseTo70Store
    • 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.