Class UpdateChecker

All Implemented Interfaces:
Annoyable

public class UpdateChecker extends AnnoyableClass
Class for handling update checking
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • checkUpdate

      public boolean checkUpdate()
      Checks if an update is available and sends a message to the console if it is
      Returns:
      true if an update is available, false otherwise
    • isUpdateAvailable

      public boolean isUpdateAvailable()
      Checks if an update is available
      Returns:
      true if an update is available, false otherwise