Uses of Interface
com.ultikits.ultitools.utils.ModuleFileTransactions.Downloader
Packages that use ModuleFileTransactions.Downloader
-
Uses of ModuleFileTransactions.Downloader in com.ultikits.ultitools.utils
Classes in com.ultikits.ultitools.utils that implement ModuleFileTransactions.DownloaderModifier and TypeClassDescription(package private) static final classThe catalogue and downloader of one staging call (plan 22-26 fix round).Methods in com.ultikits.ultitools.utils with parameters of type ModuleFileTransactions.DownloaderModifier and TypeMethodDescriptionModuleFileTransactions.download(ModuleFileTransactions.Record record, File work, String identifyString, ModuleFileTransactions.Reservation reservation, ModuleFileTransactions.Catalogue catalogue, ModuleFileTransactions.Downloader downloader, Function<UltiToolsPlugin, String> mainClassOf) The part of staging that touches the network and the staged file, run outside the lock; only the record write at its end takes the lock again.private static StringModuleFileTransactions.fetch(ModuleFileTransactions.Downloader downloader, String link, String targetName, File work, File stagedFolder) Downloads the new JAR into a fresh staged folder.ModuleFileTransactions.stageUpdate(String identifyString, Supplier<List<UltiToolsPlugin>> loaded, Function<UltiToolsPlugin, File> codeSource, ModuleFileTransactions.Catalogue catalogue, ModuleFileTransactions.Downloader downloader, Function<UltiToolsPlugin, String> mainClassOf) Stages an update, asModuleFileTransactions.stageUpdate(String, List, Function, Catalogue, Downloader, Function)does, reading the loaded modules only under the lock that an uninstall's cancellation also takes (Codex round 16, #561).ModuleFileTransactions.stageUpdate(String identifyString, List<UltiToolsPlugin> loaded, Function<UltiToolsPlugin, File> codeSource, ModuleFileTransactions.Catalogue catalogue, ModuleFileTransactions.Downloader downloader) Stages an update of a loaded module: downloads its latest version into the transaction folder and records it, leaving the modules folder untouched.ModuleFileTransactions.stageUpdate(String identifyString, List<UltiToolsPlugin> loaded, Function<UltiToolsPlugin, File> codeSource, ModuleFileTransactions.Catalogue catalogue, ModuleFileTransactions.Downloader downloader, Function<UltiToolsPlugin, String> mainClassOf) Stages an update of a loaded module, asModuleFileTransactions.stageUpdate(String, List, Function, Catalogue, Downloader)does, with the module's main class as the module loader recorded it.