|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.resolution.DependencyResult
public class DependencyResult
The result of a dependency resolution request.
RepositorySystem.resolveDependencies(RepositorySystemSession, DependencyRequest)
Constructor Summary | |
---|---|
DependencyResult(DependencyRequest request)
Creates a new result for the specified request. |
Method Summary | |
---|---|
java.util.List<ArtifactResult> |
getArtifactResults()
Gets the resolution results for the dependency artifacts that matched DependencyRequest.getFilter() . |
java.util.List<java.lang.Exception> |
getCollectExceptions()
Gets the exceptions that occurred while building the dependency graph. |
DependencyRequest |
getRequest()
Gets the resolution request that was made. |
DependencyNode |
getRoot()
Gets the root node of the resolved dependency graph. |
DependencyResult |
setArtifactResults(java.util.List<ArtifactResult> results)
Sets the resolution results for the artifacts that matched DependencyRequest.getFilter() . |
DependencyResult |
setCollectExceptions(java.util.List<java.lang.Exception> exceptions)
Records the specified exceptions while building the dependency graph. |
DependencyResult |
setRoot(DependencyNode root)
Sets the root node of the resolved dependency graph. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DependencyResult(DependencyRequest request)
request
- The resolution request, must not be null
.Method Detail |
---|
public DependencyRequest getRequest()
null
.public DependencyNode getRoot()
getCollectExceptions()
indicating errors during its calculation.
null
if none.public DependencyResult setRoot(DependencyNode root)
root
- The root node of the resolved dependency graph, may be null
.
null
.public java.util.List<java.lang.Exception> getCollectExceptions()
null
.public DependencyResult setCollectExceptions(java.util.List<java.lang.Exception> exceptions)
exceptions
- The exceptions to record, may be null
.
null
.public java.util.List<ArtifactResult> getArtifactResults()
DependencyRequest.getFilter()
.
null
.public DependencyResult setArtifactResults(java.util.List<ArtifactResult> results)
DependencyRequest.getFilter()
.
results
- The resolution results for the artifacts, may be null
.
null
.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |