Interface DependencyResolver

  • All Known Implementing Classes:
    AbstractDependencyResolver

    public interface DependencyResolver
    Resolve the main meta information of a package dependency.
    • Method Detail

      • resolvePackageInfo

        @NotNull
        @NotNull Collection<PackageInfo> resolvePackageInfo​(@NotNull
                                                            @NotNull Dependency[] dependencies,
                                                            @NotNull
                                                            @NotNull Map<PackageId,​URI> dependencyLocations)
                                                     throws IOException
        Resolves multiple package dependencies taking into account a map from package id to URI (given via package properties dependencies-locations).
        Parameters:
        dependencies - the dependencies to resolve
        dependencyLocations - a map of package ids to URIs
        Returns:
        the list of PackageInfo for all resolved dependencies (as this is only a best effort implementation the list being returned might be smaller than the array size of dependencies).
        Throws:
        IOException - in case some error happened during resolving