Interface LicenseStoreInternal
- All Superinterfaces:
LicenseStore
- All Known Implementing Classes:
ApplicationConfigurationLicenseStore
- Since:
- 6.0
-
Method Summary
Modifier and TypeMethodDescription@NonNull Optional<com.atlassian.extras.api.AtlassianLicense>
Only useful during setup.Methods inherited from interface com.atlassian.confluence.license.store.LicenseStore
clearLicenseFromMemory, install, installTransiently, retrieve
-
Method Details
-
retrieveOptional
@NonNull Optional<com.atlassian.extras.api.AtlassianLicense> retrieveOptional() throws LicenseExceptionOnly useful during setup. At all other times, the license is guaranteed to be non-null.- Returns:
- the license, if it's set.
- Throws:
LicenseException
- if the license is set, but cannot be parsed, or if the license store lock cannot be acquired.
-