Interface DependencyManager
-
- All Known Subinterfaces:
CacheEnabledDependencyResolverMixin
- All Known Implementing Classes:
AbstractVcsDependencyManager,GitDependencyManager,GitMercurialDependencyManager,LocalDirectoryDependencyManager,MercurialDependencyManager
public interface DependencyManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinstall(ResolvedDependency dependency, java.io.File targetDirectory)Copy all necessary files of thisdependencyto thetargetDirectory.ResolvedDependencyresolve(ResolveContext context, NotationDependency dependency)Resolves a dependency.
-
-
-
Method Detail
-
resolve
ResolvedDependency resolve(ResolveContext context, NotationDependency dependency)
Resolves a dependency. During this process, right version will be determined by VCS.- Parameters:
context- the configuration this dependency in and current exclusion specsdependency- dependency to be resolved- Returns:
- the resolved dependency
-
install
void install(ResolvedDependency dependency, java.io.File targetDirectory)
Copy all necessary files of thisdependencyto thetargetDirectory.- Parameters:
dependency- the dependencytargetDirectory- the target directory
-
-