Class Maven31CollectResult
- java.lang.Object
-
- org.apache.maven.shared.transfer.collection.internal.Maven31CollectResult
-
- All Implemented Interfaces:
CollectResult
class Maven31CollectResult extends java.lang.Object implements CollectResult
CollectResult wrapper aroundCollectResult
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.aether.collection.CollectResult
collectResult
-
Constructor Summary
Constructors Constructor Description Maven31CollectResult(org.eclipse.aether.collection.CollectResult collectResult)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
Maven31CollectResult
Maven31CollectResult(org.eclipse.aether.collection.CollectResult collectResult)
- Parameters:
collectResult
-CollectResult
-
-
Method Detail
-
getRoot
public DependencyNode getRoot()
Gets the root node of the dependency graph.- Specified by:
getRoot
in interfaceCollectResult
- Returns:
- The root node of the dependency graph or
null
if none.
-
getExceptions
public java.util.List<java.lang.Exception> getExceptions()
Description copied from interface:CollectResult
Gets the exceptions that occurred while building the dependency graph.- Specified by:
getExceptions
in interfaceCollectResult
- Returns:
- The exceptions that occurred, never
null
.
-
-