public class DependencyTreeFormatter extends Object
| Constructor and Description |
|---|
DependencyTreeFormatter() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ListMultimap<DependencyPath,DependencyPath> |
buildDependencyPathTree(Collection<DependencyPath> dependencyPaths)
Builds ListMultimap that represents a Maven dependency tree of parent-children relationship.
|
public static com.google.common.collect.ListMultimap<DependencyPath,DependencyPath> buildDependencyPathTree(Collection<DependencyPath> dependencyPaths)
listMultimap.values().dependencyPaths - dependency path instances without assuming any orderDependencyPath representing the root
Maven artifact is available at the first element in listMultimap.values().Copyright © 2018–2020 Google LLC.. All rights reserved.