com.atlassian.jira.license.LicenseDetailsFactory |
Known Indirect Subclasses |
@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).
Provides the ability to extract a LicenseDetails object from a license String.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts an encrypted license string to a license details.
| |||||||||||
Determines whether a license string can be decoded by this factory.
|
Converts an encrypted license string to a license details. This method never returns null, instead it returns a placeholder license details if the license string cannot be converted to a valid license. This placeholder is typically a com.atlassian.jira.license.NullLicenseDetails.
licenseString | the (usually encrypted) license string |
---|
Determines whether a license string can be decoded by this factory. If this returns true, then getLicense is guaranteed t return a valid non-placeholder LicenseDetails object.
licenseString | the (usually encrypted) license string to test |
---|