Class DownloadHelperFactory
java.lang.Object
io.github.slimjar.injector.helper.DownloadHelperFactory
-
Constructor Summary
ConstructorsConstructorDescriptionDownloadHelperFactory(@NotNull Path downloadDirectoryPath, @NotNull RelocatorFactory relocatorFactory, @NotNull RelocationHelperFactory relocationHelperFactory, @NotNull DependencyResolverFactory resolverFactory, @NotNull RepositoryEnquirerFactory enquirerFactory, @NotNull DependencyDownloaderFactory downloaderFactory, @NotNull DependencyVerifierFactory verifier, @NotNull MirrorSelector mirrorSelector) -
Method Summary
Modifier and TypeMethodDescription@NotNull DownloadHelpercreate(@NotNull DependencyData data, @NotNull Map<String, ResolutionResult> preResolvedResults)
-
Constructor Details
-
DownloadHelperFactory
public DownloadHelperFactory(@NotNull @NotNull Path downloadDirectoryPath, @NotNull @NotNull RelocatorFactory relocatorFactory, @NotNull @NotNull RelocationHelperFactory relocationHelperFactory, @NotNull @NotNull DependencyResolverFactory resolverFactory, @NotNull @NotNull RepositoryEnquirerFactory enquirerFactory, @NotNull @NotNull DependencyDownloaderFactory downloaderFactory, @NotNull @NotNull DependencyVerifierFactory verifier, @NotNull @NotNull MirrorSelector mirrorSelector)
-
-
Method Details
-
create
@Contract("_, _ -> new") @NotNull public @NotNull DownloadHelper create(@NotNull @NotNull DependencyData data, @NotNull @NotNull Map<String, ResolutionResult> preResolvedResults) throws InjectorException- Throws:
InjectorException
-