Interface LicenseStoreInternal
-
- All Superinterfaces:
LicenseStore
- All Known Implementing Classes:
ApplicationConfigurationLicenseStore
@ParametersAreNonnullByDefault public interface LicenseStoreInternal extends LicenseStore
- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Optional<com.atlassian.extras.api.AtlassianLicense>
retrieveOptional()
Only useful during setup.-
Methods inherited from interface com.atlassian.confluence.license.store.LicenseStore
clearLicenseFromMemory, install, installTransiently, retrieve
-
-
-
-
Method Detail
-
retrieveOptional
@NonNull Optional<com.atlassian.extras.api.AtlassianLicense> retrieveOptional() throws LicenseException
Only 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.
-
-