Class DependencyTree
- java.lang.Object
-
- org.apache.flink.tools.ci.utils.shared.DependencyTree
-
public class DependencyTree extends Object
Represents a dependency tree.Every dependency can only occur exactly once.
-
-
Constructor Summary
Constructors Constructor Description DependencyTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependencyTree
addDirectDependency(Dependency dependency)
DependencyTree
addTransitiveDependencyTo(Dependency transitiveDependency, Dependency parent)
Stream<Dependency>
flatten()
List<Dependency>
getDirectDependencies()
List<Dependency>
getPathTo(Dependency dependency)
-
-
-
Method Detail
-
addDirectDependency
public DependencyTree addDirectDependency(Dependency dependency)
-
addTransitiveDependencyTo
public DependencyTree addTransitiveDependencyTo(Dependency transitiveDependency, Dependency parent)
-
getDirectDependencies
public List<Dependency> getDirectDependencies()
-
getPathTo
public List<Dependency> getPathTo(Dependency dependency)
-
flatten
public Stream<Dependency> flatten()
-
-