public class DependencyGraph extends Object
Imagine performing a breadth first search through the tree. As we go we build up a list of dependencies. The path to each dependency node is placed in a list. Although each path should appear only once, each dependency may appear many times in different paths. This representation is unusual because it represents a tree as a list of every path from the root to each node, instead of a network of nodes.
Artifacts are considered to be the same if they have the same group ID, artifact ID, and version.
| Constructor and Description |
|---|
DependencyGraph() |
| Modifier and Type | Method and Description |
|---|---|
List<Update> |
findUpdates()
Returns a list of updates indicating desired updates formatted for a person to read.
|
Map<String,String> |
getHighestVersionMap() |
Set<DependencyPath> |
getPaths(String coordinates) |
List<DependencyPath> |
list() |
public List<DependencyPath> list()
public Set<DependencyPath> getPaths(String coordinates)
public List<Update> findUpdates()
Copyright © 2018–2020 Google LLC.. All rights reserved.