Class DefaultDependencyResolverResult
java.lang.Object
org.apache.maven.impl.DefaultDependencyResolverResult
- All Implemented Interfaces:
- DependencyResolverResult,- Result<DependencyResolverRequest>
The result of collecting dependencies with a dependency resolver.
 New instances are initially empty. Callers must populate with calls
 to the following methods, in that order:
 
- addOutputDirectory(Path, Path)(optional)
- addDependency(Node, Dependency, Predicate, Path)
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultDependencyResolverResult(DependencyResolverRequest request, org.apache.maven.impl.PathModularizationCache cache, List<Exception> exceptions, Node root, int count) Creates an initially empty result.
- 
Method SummaryModifier and TypeMethodDescriptiongetModuleDescriptor(Path dependency) getModuleName(Path dependency) getNodes()getPaths()getRoot()
- 
Constructor Details- 
DefaultDependencyResolverResultpublic DefaultDependencyResolverResult(DependencyResolverRequest request, org.apache.maven.impl.PathModularizationCache cache, List<Exception> exceptions, Node root, int count) Creates an initially empty result. Callers should add path elements by calls toaddDependency(Node, Dependency, Predicate, Path).- Parameters:
- request- the corresponding request
- cache- cache of module information about each dependency
- exceptions- the exceptions that occurred while building the dependency graph
- root- the root node of the dependency graph
- count- estimated number of dependencies
 
 
- 
- 
Method Details- 
getRequest- Specified by:
- getRequestin interface- Result<DependencyResolverRequest>
 
- 
getExceptions- Specified by:
- getExceptionsin interface- DependencyResolverResult
 
- 
getRoot- Specified by:
- getRootin interface- DependencyResolverResult
 
- 
getNodes- Specified by:
- getNodesin interface- DependencyResolverResult
 
- 
getPaths- Specified by:
- getPathsin interface- DependencyResolverResult
 
- 
getDispatchedPaths- Specified by:
- getDispatchedPathsin interface- DependencyResolverResult
 
- 
getDependencies- Specified by:
- getDependenciesin interface- DependencyResolverResult
 
- 
getModuleDescriptor- Specified by:
- getModuleDescriptorin interface- DependencyResolverResult
- Throws:
- IOException
 
- 
getModuleName- Specified by:
- getModuleNamein interface- DependencyResolverResult
- Throws:
- IOException
 
- 
warningForFilenameBasedAutomodules- Specified by:
- warningForFilenameBasedAutomodulesin interface- DependencyResolverResult
 
 
-