java.lang.Object | |
↳ | com.atlassian.jira.license.MockLicenseDetailsFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts an encoded license key into a
LicenseDetails . | |||||||||||
Determines whether a license string can be decoded by this factory.
|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||
![]()
|
Converts an encoded license key into a LicenseDetails
. This method never
returns null, if the provided license key is undecodable or not for a JIRA Product a com.atlassian.extras.api.LicenseException is thrown.
licenseString | the encoded license key. |
---|
LicenseException |
---|
Determines whether a license string can be decoded by this factory. If this returns true, then getLicense is guaranteed to return a valid non-placeholder LicenseDetails object.
licenseString | the (usually encrypted) license string to test |
---|