Interface NewVersionAvailabilityProvider

    • Method Detail

      • isUpdateAvailable

        default boolean isUpdateAvailable()
      • getUpdateOption

        @Nullable
        default UpdateOption getUpdateOption()
        Returns:
        preferable update option or null if new version is not available
      • getUpdateOption

        @Nullable
        default UpdateOption getUpdateOption​(@NotNull
                                             String version)
      • getUpdateOptions

        @NotNull
        List<UpdateOption> getUpdateOptions()
        Returns:
        all available update options
      • checkForUpdates

        void checkForUpdates()
        Perform an unscheduled check for updates
      • getLastCheckError

        @Nullable
        String getLastCheckError()
        Returns:
        error when last check failed, null otherwise
      • getLastCheckDate

        @Nullable
        Date getLastCheckDate()
        Returns:
        last check timestamp, null if have not checked yet