Package fr.flowarg.flowupdater.utils
Class UpdaterOptions
java.lang.Object
fr.flowarg.flowupdater.utils.UpdaterOptions
Represent some settings for FlowUpdater
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionThe external file deleter is used to check if some external files need to be downloaded.The path to the java executable to use with Forge and Fabric installers.booleanShould check the version of FlowUpdater.booleanIf set to true, external files will be downloaded 1 by 1 (as it always been).
-
Field Details
-
DEFAULT
-
-
Method Details
-
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
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.
-