public final class ClassPathResult extends Object
UnresolvableArtifactProblems if any.| Constructor and Description |
|---|
ClassPathResult(com.google.common.collect.ListMultimap<ClassPathEntry,DependencyPath> dependencyPaths,
Iterable<UnresolvableArtifactProblem> artifactProblems) |
| Modifier and Type | Method and Description |
|---|---|
String |
formatDependencyPaths(Iterable<ClassPathEntry> entries)
Returns text describing dependency paths to class path entries in the dependency tree.
|
com.google.common.collect.ImmutableList<UnresolvableArtifactProblem> |
getArtifactProblems()
Returns problems encountered while constructing the dependency graph.
|
com.google.common.collect.ImmutableList<ClassPathEntry> |
getClassPath()
Returns the resolved class path.
|
com.google.common.collect.ImmutableSet<ClassPathEntry> |
getClassPathEntries(String coordinates)
Returns the classpath entries for the transitive dependencies of the specified
artifact.
|
com.google.common.collect.ImmutableList<DependencyPath> |
getDependencyPaths(ClassPathEntry entry)
Returns all paths to the class path entry or
an empty list if the entry is not in the class path.
|
public ClassPathResult(com.google.common.collect.ListMultimap<ClassPathEntry,DependencyPath> dependencyPaths, Iterable<UnresolvableArtifactProblem> artifactProblems)
public com.google.common.collect.ImmutableList<ClassPathEntry> getClassPath()
public com.google.common.collect.ImmutableList<DependencyPath> getDependencyPaths(ClassPathEntry entry)
public com.google.common.collect.ImmutableList<UnresolvableArtifactProblem> getArtifactProblems()
public String formatDependencyPaths(Iterable<ClassPathEntry> entries)
public com.google.common.collect.ImmutableSet<ClassPathEntry> getClassPathEntries(String coordinates)
Copyright © 2018–2021 Google LLC.. All rights reserved.