Package org.eclipse.aether.collection
Class CollectResult
java.lang.Object
org.eclipse.aether.collection.CollectResult
The result of a dependency collection request.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCollectResult(CollectRequest request) Creates a new result for the specified request.
- 
Method SummaryModifier and TypeMethodDescriptionaddCycle(DependencyCycle cycle) Records the specified dependency cycle.addException(Exception exception) Records the specified exception while building the dependency graph.Gets the dependency cycles that were encountered while building the dependency graph.Gets the exceptions that occurred while building the dependency graph.Gets the collection request that was made.getRoot()Gets the root node of the dependency graph.setRoot(DependencyNode root) Sets the root node of the dependency graph.toString()
- 
Constructor Details- 
CollectResultCreates a new result for the specified request.- Parameters:
- request- The resolution request, must not be- null.
 
 
- 
- 
Method Details- 
getRequestGets the collection request that was made.- Returns:
- The collection request, never null.
 
- 
getExceptionsGets the exceptions that occurred while building the dependency graph.- Returns:
- The exceptions that occurred, never null.
 
- 
addExceptionRecords the specified exception while building the dependency graph.- Parameters:
- exception- The exception to record, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
getCyclesGets the dependency cycles that were encountered while building the dependency graph.- Returns:
- The dependency cycles in the (raw) graph, never null.
 
- 
addCycleRecords the specified dependency cycle.- Parameters:
- cycle- The dependency cycle to record, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
getRootGets the root node of the dependency graph.- Returns:
- The root node of the dependency graph or nullif none.
 
- 
setRootSets the root node of the dependency graph.- Parameters:
- root- The root node of the dependency graph, may be- null.
- Returns:
- This result for chaining, never null.
 
- 
toString
 
-