Class UpdaterOptions

java.lang.Object
fr.flowarg.flowupdater.utils.UpdaterOptions

public class UpdaterOptions extends Object
Represent some settings for FlowUpdater
  • Field Details

  • Method Details

    • getExternalFileDeleter

      public ExternalFileDeleter getExternalFileDeleter()
      The external file deleter is used to check if some external files need to be downloaded. Default: ExternalFileDeleter
      Returns:
      externalFileDeleter value.
    • isVersionChecker

      public boolean isVersionChecker()
      Should check the version of FlowUpdater.
      Returns:
      true or false.
    • getJavaPath

      public String getJavaPath()
      The path to the java executable to use with Forge and Fabric installers. By default, it's taken from System.getProperty("java.home").
      Returns:
      the path to the java executable.
    • shouldDisableExtFilesAsyncDownload

      public boolean shouldDisableExtFilesAsyncDownload()
      If set to true, external files will be downloaded 1 by 1 (as it always been). Asynchronous downloading of external files has been introduced in 1.9.4 in order to fasten the downloading step when a project needs many external files.
      Returns:
      true if asynchronous downloading of external files is disabled. False otherwise.