Interface LicenseStoreInternal

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