Interface IDependencyService
-
public interface IDependencyService
Service for resolving deployment artifact dependencies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<IResourceIdentifier>
getResourceIdentifier(java.net.URL url)
Get the resource identifier for an url.IFuture<Tuple2<IResourceIdentifier,java.util.Map<IResourceIdentifier,java.util.List<IResourceIdentifier>>>>
loadDependencies(IResourceIdentifier rid, boolean workspace)
Load dependencies from a resource identifier.
-
-
-
Method Detail
-
loadDependencies
IFuture<Tuple2<IResourceIdentifier,java.util.Map<IResourceIdentifier,java.util.List<IResourceIdentifier>>>> loadDependencies(IResourceIdentifier rid, boolean workspace)
Load dependencies from a resource identifier.- Parameters:
rid
- A local or global resource identifier. If both local and global ids are present, local takes precedence, e.g. resolving to workspace urls before fetching an older snapshot from a repository.- Returns:
- A map containing the dependencies as mapping (parent RID -> list of children RIDs).
-
getResourceIdentifier
IFuture<IResourceIdentifier> getResourceIdentifier(java.net.URL url)
Get the resource identifier for an url.- Parameters:
url
- The url.- Returns:
- The resource identifier.
-
-