| Package | Description |
|---|---|
| com.google.cloud.tools.opensource.classpath | |
| com.google.cloud.tools.opensource.dependencies |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<DependencyPath> |
ClassPathResult.getDependencyPaths(ClassPathEntry entry)
Returns all paths to the class path entry or
an empty list if the entry is not in the class path.
|
| Constructor and Description |
|---|
ClassPathResult(com.google.common.collect.ListMultimap<ClassPathEntry,DependencyPath> dependencyPaths,
Iterable<UnresolvableArtifactProblem> artifactProblems) |
| Modifier and Type | Method and Description |
|---|---|
DependencyPath |
DependencyPath.append(org.eclipse.aether.graph.Dependency dependency) |
DependencyPath |
DependencyPath.concat(DependencyPath childPath) |
DependencyPath |
PathToNode.getParentPath()
Returns the path from the root of the graph to the parent of the node.
|
DependencyPath |
DependencyGraph.getRootPath()
Returns dependency path of the root node.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ListMultimap<DependencyPath,DependencyPath> |
DependencyTreeFormatter.buildDependencyPathTree(Collection<DependencyPath> dependencyPaths)
Builds ListMultimap that represents a Maven dependency tree of parent-children relationship.
|
static com.google.common.collect.ListMultimap<DependencyPath,DependencyPath> |
DependencyTreeFormatter.buildDependencyPathTree(Collection<DependencyPath> dependencyPaths)
Builds ListMultimap that represents a Maven dependency tree of parent-children relationship.
|
List<DependencyPath> |
DependencyGraph.getChildren(DependencyPath parent)
Returns dependency paths from the root to the children of
parent. |
Set<DependencyPath> |
DependencyGraph.getPaths(String coordinates)
Returns all paths to the specified artifact.
|
List<DependencyPath> |
DependencyGraph.list()
Returns a mutable copy of the paths in this graph, usually in breadth first order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DependencyGraph.addPath(DependencyPath path) |
DependencyPath |
DependencyPath.concat(DependencyPath childPath) |
List<DependencyPath> |
DependencyGraph.getChildren(DependencyPath parent)
Returns dependency paths from the root to the children of
parent. |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ListMultimap<DependencyPath,DependencyPath> |
DependencyTreeFormatter.buildDependencyPathTree(Collection<DependencyPath> dependencyPaths)
Builds ListMultimap that represents a Maven dependency tree of parent-children relationship.
|
| Constructor and Description |
|---|
PathToNode(T node,
DependencyPath parentPath) |
Copyright © 2018–2021 Google LLC.. All rights reserved.