Interface DependencyResolver
-
- All Known Implementing Classes:
AbstractDependencyResolver
public interface DependencyResolver
Resolve the main meta information of a package dependency.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Collection<PackageInfo>
resolvePackageInfo(@NotNull Dependency[] dependencies, @NotNull Map<PackageId,URI> dependencyLocations)
Resolves multiple package dependencies taking into account a map from package id to URI (given via package propertiesdependencies-locations
).
-
-
-
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 propertiesdependencies-locations
).- Parameters:
dependencies
- the dependencies to resolvedependencyLocations
- 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 ofdependencies
). - Throws:
IOException
- in case some error happened during resolving
-
-