Interface CollectResult
-
- All Known Implementing Classes:
Maven31CollectResult
public interface CollectResult
The result of a dependency collection request.- See Also:
DependencyCollector.collectDependencies(org.apache.maven.project.ProjectBuildingRequest, org.apache.maven.model.Dependency)
,DependencyCollector.collectDependencies(org.apache.maven.project.ProjectBuildingRequest, org.apache.maven.shared.transfer.dependencies.DependableCoordinate)
,DependencyCollector.collectDependencies(org.apache.maven.project.ProjectBuildingRequest, org.apache.maven.model.Model)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.Exception>
getExceptions()
Gets the exceptions that occurred while building the dependency graph.DependencyNode
getRoot()
Gets the root node of the dependency graph.
-
-
-
Method Detail
-
getExceptions
java.util.List<java.lang.Exception> getExceptions()
Gets the exceptions that occurred while building the dependency graph.- Returns:
- The exceptions that occurred, never
null
.
-
getRoot
DependencyNode getRoot()
Gets the root node of the dependency graph.- Returns:
- The root node of the dependency graph or
null
if none.
-
-