@Internal public static class LicenseDetailsFactoryImpl.JiraProductLicenseManager extends Object
Modifier and Type | Field and Description |
---|---|
static LicenseDetailsFactoryImpl.JiraProductLicenseManager |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
JiraProductLicense |
getProductLicense(String licenseKey)
Decode a valid license key into
JiraProductLicense . |
public static final LicenseDetailsFactoryImpl.JiraProductLicenseManager INSTANCE
@Internal @Nonnull public JiraProductLicense getProductLicense(@Nonnull String licenseKey) throws com.atlassian.extras.api.LicenseException
JiraProductLicense
. If the
provided license key is an undecodable or not a JIRA Product license key then a LicenseException
is thrown.licenseKey
- license key for a JIRA product.JiraProductLicense
.com.atlassian.extras.api.LicenseException
- if there are any errors in handling the license.Copyright © 2002-2018 Atlassian. All Rights Reserved.