@Internal public static class

LicenseDetailsFactoryImpl.JiraProductLicenseManager

extends Object
java.lang.Object
   ↳ com.atlassian.jira.license.LicenseDetailsFactoryImpl.JiraProductLicenseManager

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

JIRA internal license manager used for decoding license keys. Do not use this API outside of jira core module.

Summary

Fields
public static final LicenseDetailsFactoryImpl.JiraProductLicenseManager INSTANCE
Public Methods
@Internal @Nonnull JiraProductLicense getProductLicense(String licenseKey)
Decode a valid license key into JiraProductLicense.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

Public Methods

@Internal @Nonnull public JiraProductLicense getProductLicense (String licenseKey)

@Internal

This method is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Decode a valid license key into JiraProductLicense. If the provided license key is an undecodable or not a JIRA Product license key then a com.atlassian.extras.api.LicenseException is thrown.

Parameters
licenseKey license key for a JIRA product.
Returns
Throws
LicenseException if there are any errors in handling the license.