|
||||||||||
| 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 | |
|---|---|
List<ArtifactResult> |
getArtifactResults()
Gets the resolution results for the dependency artifacts that matched DependencyRequest.getFilter(). |
List<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(List<ArtifactResult> results)
Sets the resolution results for the artifacts that matched DependencyRequest.getFilter(). |
DependencyResult |
setCollectExceptions(List<Exception> exceptions)
Records the specified exceptions while building the dependency graph. |
DependencyResult |
setRoot(DependencyNode root)
Sets the root node of the resolved dependency graph. |
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 List<Exception> getCollectExceptions()
null.public DependencyResult setCollectExceptions(List<Exception> exceptions)
exceptions - The exceptions to record, may be null.
null.public List<ArtifactResult> getArtifactResults()
DependencyRequest.getFilter().
null.public DependencyResult setArtifactResults(List<ArtifactResult> results)
DependencyRequest.getFilter().
results - The resolution results for the artifacts, may be null.
null.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||