|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.aether.collection.CollectResult
public class CollectResult
The result of a dependency collection request.
RepositorySystem.collectDependencies(RepositorySystemSession, CollectRequest)
Constructor Summary | |
---|---|
CollectResult(CollectRequest request)
Creates a new result for the specified request. |
Method Summary | |
---|---|
CollectResult |
addException(Exception exception)
Records the specified exception while building the dependency graph. |
List<Exception> |
getExceptions()
Gets the exceptions that occurred while building the dependency graph. |
CollectRequest |
getRequest()
Gets the collection request that was made. |
DependencyNode |
getRoot()
Gets the root node of the dependency graph. |
CollectResult |
setRoot(DependencyNode root)
Sets the root node of the dependency graph. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CollectResult(CollectRequest request)
request
- The resolution request, must not be null
.Method Detail |
---|
public CollectRequest getRequest()
null
.public List<Exception> getExceptions()
null
.public CollectResult addException(Exception exception)
exception
- The exception to record, may be null
.
null
.public DependencyNode getRoot()
null
if none.public CollectResult setRoot(DependencyNode root)
root
- The root node of the dependency graph, 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 |