Interface LicenseStoreInternal

All Superinterfaces:
LicenseStore
All Known Implementing Classes:
ApplicationConfigurationLicenseStore

@ParametersAreNonnullByDefault public interface LicenseStoreInternal extends LicenseStore
Since:
6.0
  • Method Details

    • 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.