class DefaultDependencyResolutionResult extends java.lang.Object implements DependencyResolutionResult
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.Exception> |
collectionErrors |
private java.util.List<org.eclipse.aether.graph.Dependency> |
dependencies |
private java.util.Map<org.eclipse.aether.graph.Dependency,java.util.List<java.lang.Exception>> |
resolutionErrors |
private java.util.List<org.eclipse.aether.graph.Dependency> |
resolvedDependencies |
private org.eclipse.aether.graph.DependencyNode |
root |
private java.util.List<org.eclipse.aether.graph.Dependency> |
unresolvedDependencies |
Constructor and Description |
---|
DefaultDependencyResolutionResult() |
Modifier and Type | Method and Description |
---|---|
void |
addResolvedDependency(org.eclipse.aether.graph.Dependency dependency) |
java.util.List<java.lang.Exception> |
getCollectionErrors()
Gets the errors that occurred while building the dependency graph.
|
java.util.List<org.eclipse.aether.graph.Dependency> |
getDependencies()
Gets the transitive dependencies of the project that were not excluded by
DependencyResolutionRequest.getResolutionFilter() . |
org.eclipse.aether.graph.DependencyNode |
getDependencyGraph()
Gets the dependency graph of the project.
|
java.util.List<java.lang.Exception> |
getResolutionErrors(org.eclipse.aether.graph.Dependency dependency)
Gets the errors that occurred while resolving the specified dependency.
|
java.util.List<org.eclipse.aether.graph.Dependency> |
getResolvedDependencies()
Gets the dependencies that were successfully resolved.
|
java.util.List<org.eclipse.aether.graph.Dependency> |
getUnresolvedDependencies()
Gets the dependencies that could not be resolved.
|
void |
setCollectionErrors(java.util.List<java.lang.Exception> exceptions) |
void |
setDependencyGraph(org.eclipse.aether.graph.DependencyNode root) |
void |
setResolutionErrors(org.eclipse.aether.graph.Dependency dependency,
java.util.List<java.lang.Exception> errors) |
private org.eclipse.aether.graph.DependencyNode root
private java.util.List<org.eclipse.aether.graph.Dependency> dependencies
private java.util.List<org.eclipse.aether.graph.Dependency> resolvedDependencies
private java.util.List<org.eclipse.aether.graph.Dependency> unresolvedDependencies
private java.util.List<java.lang.Exception> collectionErrors
private java.util.Map<org.eclipse.aether.graph.Dependency,java.util.List<java.lang.Exception>> resolutionErrors
public org.eclipse.aether.graph.DependencyNode getDependencyGraph()
DependencyResolutionResult
getDependencyGraph
in interface DependencyResolutionResult
null
if not available.public void setDependencyGraph(org.eclipse.aether.graph.DependencyNode root)
public java.util.List<org.eclipse.aether.graph.Dependency> getDependencies()
DependencyResolutionResult
DependencyResolutionRequest.getResolutionFilter()
. This list is a union of the results from
DependencyResolutionResult.getResolvedDependencies()
and DependencyResolutionResult.getUnresolvedDependencies()
.getDependencies
in interface DependencyResolutionResult
null
.public java.util.List<org.eclipse.aether.graph.Dependency> getResolvedDependencies()
DependencyResolutionResult
getResolvedDependencies
in interface DependencyResolutionResult
null
.public void addResolvedDependency(org.eclipse.aether.graph.Dependency dependency)
public java.util.List<org.eclipse.aether.graph.Dependency> getUnresolvedDependencies()
DependencyResolutionResult
getUnresolvedDependencies
in interface DependencyResolutionResult
null
.public java.util.List<java.lang.Exception> getCollectionErrors()
DependencyResolutionResult
getCollectionErrors
in interface DependencyResolutionResult
null
.public void setCollectionErrors(java.util.List<java.lang.Exception> exceptions)
public java.util.List<java.lang.Exception> getResolutionErrors(org.eclipse.aether.graph.Dependency dependency)
DependencyResolutionResult
getResolutionErrors
in interface DependencyResolutionResult
dependency
- The dependency for which to retrieve the errors, must not be null
.null
.public void setResolutionErrors(org.eclipse.aether.graph.Dependency dependency, java.util.List<java.lang.Exception> errors)