Class MutableMapDependencyGraph
- java.lang.Object
-
- com.synopsys.integration.bdio.graph.MutableMapDependencyGraph
-
- All Implemented Interfaces:
DependencyGraph,MutableDependencyGraph
public class MutableMapDependencyGraph extends java.lang.Object implements MutableDependencyGraph
-
-
Constructor Summary
Constructors Constructor Description MutableMapDependencyGraph()
-
Method Summary
-
-
-
Method Detail
-
addGraphAsChildrenToRoot
public void addGraphAsChildrenToRoot(DependencyGraph sourceGraph)
- Specified by:
addGraphAsChildrenToRootin interfaceMutableDependencyGraph
-
addGraphAsChildrenToParent
public void addGraphAsChildrenToParent(Dependency parent, DependencyGraph sourceGraph)
- Specified by:
addGraphAsChildrenToParentin interfaceMutableDependencyGraph
-
hasDependency
public boolean hasDependency(ExternalId dependency)
- Specified by:
hasDependencyin interfaceDependencyGraph
-
hasDependency
public boolean hasDependency(Dependency dependency)
- Specified by:
hasDependencyin interfaceDependencyGraph
-
getDependency
public Dependency getDependency(ExternalId dependency)
- Specified by:
getDependencyin interfaceDependencyGraph
-
getChildrenForParent
public java.util.Set<Dependency> getChildrenForParent(ExternalId parent)
- Specified by:
getChildrenForParentin interfaceDependencyGraph
-
getParentsForChild
public java.util.Set<Dependency> getParentsForChild(ExternalId child)
- Specified by:
getParentsForChildin interfaceDependencyGraph
-
getChildrenExternalIdsForParent
public java.util.Set<ExternalId> getChildrenExternalIdsForParent(ExternalId parent)
- Specified by:
getChildrenExternalIdsForParentin interfaceDependencyGraph
-
getParentExternalIdsForChild
public java.util.Set<ExternalId> getParentExternalIdsForChild(ExternalId child)
- Specified by:
getParentExternalIdsForChildin interfaceDependencyGraph
-
getChildrenForParent
public java.util.Set<Dependency> getChildrenForParent(Dependency parent)
- Specified by:
getChildrenForParentin interfaceDependencyGraph
-
getParentsForChild
public java.util.Set<Dependency> getParentsForChild(Dependency child)
- Specified by:
getParentsForChildin interfaceDependencyGraph
-
getChildrenExternalIdsForParent
public java.util.Set<ExternalId> getChildrenExternalIdsForParent(Dependency parent)
- Specified by:
getChildrenExternalIdsForParentin interfaceDependencyGraph
-
getParentExternalIdsForChild
public java.util.Set<ExternalId> getParentExternalIdsForChild(Dependency child)
- Specified by:
getParentExternalIdsForChildin interfaceDependencyGraph
-
addParentWithChild
public void addParentWithChild(Dependency parent, Dependency child)
- Specified by:
addParentWithChildin interfaceMutableDependencyGraph
-
addChildWithParent
public void addChildWithParent(Dependency child, Dependency parent)
- Specified by:
addChildWithParentin interfaceMutableDependencyGraph
-
addParentWithChildren
public void addParentWithChildren(Dependency parent, java.util.List<Dependency> children)
- Specified by:
addParentWithChildrenin interfaceMutableDependencyGraph
-
addChildWithParents
public void addChildWithParents(Dependency child, java.util.List<Dependency> parents)
- Specified by:
addChildWithParentsin interfaceMutableDependencyGraph
-
addParentWithChildren
public void addParentWithChildren(Dependency parent, java.util.Set<Dependency> children)
- Specified by:
addParentWithChildrenin interfaceMutableDependencyGraph
-
addChildWithParents
public void addChildWithParents(Dependency child, java.util.Set<Dependency> parents)
- Specified by:
addChildWithParentsin interfaceMutableDependencyGraph
-
addParentWithChildren
public void addParentWithChildren(Dependency parent, Dependency... children)
- Specified by:
addParentWithChildrenin interfaceMutableDependencyGraph
-
addChildWithParents
public void addChildWithParents(Dependency child, Dependency... parents)
- Specified by:
addChildWithParentsin interfaceMutableDependencyGraph
-
getRootDependencyExternalIds
public java.util.Set<ExternalId> getRootDependencyExternalIds()
- Specified by:
getRootDependencyExternalIdsin interfaceDependencyGraph
-
getRootDependencies
public java.util.Set<Dependency> getRootDependencies()
- Specified by:
getRootDependenciesin interfaceDependencyGraph
-
addChildToRoot
public void addChildToRoot(Dependency child)
- Specified by:
addChildToRootin interfaceMutableDependencyGraph
-
addChildrenToRoot
public void addChildrenToRoot(java.util.List<Dependency> children)
- Specified by:
addChildrenToRootin interfaceMutableDependencyGraph
-
addChildrenToRoot
public void addChildrenToRoot(java.util.Set<Dependency> children)
- Specified by:
addChildrenToRootin interfaceMutableDependencyGraph
-
addChildrenToRoot
public void addChildrenToRoot(Dependency... children)
- Specified by:
addChildrenToRootin interfaceMutableDependencyGraph
-
-