@Internal
public interface LicenseDetailsFactory
| Modifier and Type | Method and Description |
|---|---|
LicenseDetails |
getLicense(String licenseString)
Converts an encoded license key into a
LicenseDetails. |
boolean |
isDecodeable(String licenseString)
Determines whether a license string can be decoded by this factory.
|
@Nonnull LicenseDetails getLicense(@Nonnull String licenseString) throws com.atlassian.extras.api.LicenseException
LicenseDetails. This method never
returns null, if the provided license key is undecodable or not for a JIRA Product a LicenseException is thrown.licenseString - the encoded license key.com.atlassian.extras.api.LicenseException - if licenseString was null or could not be decoded (see isDecodeable(String).boolean isDecodeable(@Nonnull String licenseString)
licenseString - the (usually encrypted) license string to testCopyright © 2002-2019 Atlassian. All Rights Reserved.