Class LynaUpdateChecker

java.lang.Object
de.eldoria.eldoutilities.updater.Updater<LynaUpdateResponse,LynaUpdateData>
de.eldoria.eldoutilities.updater.lynaupdater.LynaUpdateChecker
All Implemented Interfaces:
Runnable, Listener

public class LynaUpdateChecker extends Updater<LynaUpdateResponse,LynaUpdateData>
Updater implementation for butler application.
Since:
1.1.0
  • Constructor Details

  • Method Details

    • checkUpdate

      protected Optional<LynaUpdateResponse> checkUpdate(LynaUpdateData data)
      Description copied from class: Updater
      The check method will be called after the constructor is called.

      This method should be implemented as follows:

      Retrieve the latest version of the plugin from any update service.

      return the latest version or a empty optional if the version could not be checked.

      Specified by:
      checkUpdate in class Updater<LynaUpdateResponse,LynaUpdateData>
      Parameters:
      data - data for plugin updates
      Returns:
      empty optional if the version could not be checked or the latest version.