Interface RemoteRepoLoader
-
- All Known Implementing Classes:
RemoteRepoLoaderImpl
public interface RemoteRepoLoaderA facility for loadingRepoPackages that are available for download.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,RemotePackage>fetchPackages(ProgressIndicator progress, Downloader downloader, SettingsController settings)Fetches the remote packages.
-
-
-
Method Detail
-
fetchPackages
@NonNull java.util.Map<java.lang.String,RemotePackage> fetchPackages(@NonNull ProgressIndicator progress, @NonNull Downloader downloader, @Nullable SettingsController settings)
Fetches the remote packages.- Parameters:
progress-ProgressIndicatorfor logging and showing progress (TODO).downloader- TheDownloaderto use forRepositorySourceProviders to use if needed.settings- TheSettingsControllerforRepositorySourceProviders to use if needed.- Returns:
- A map of install paths to
RemotePackages. The remote package will be the most recent version of the package in a channel at least as stable as the one specified bySettingsController.getChannel().
-
-