@Singleton @Named(value="df") public class DfDependencyCollector extends DependencyCollectorDelegate implements Service
DependencyCollector
(the "original" default). Originally
this class was located a package higher (as "default" implementation).Modifier and Type | Field and Description |
---|---|
static String |
NAME |
CONFIG_PROP_MAX_CYCLES, CONFIG_PROP_MAX_CYCLES_DEFAULT, CONFIG_PROP_MAX_EXCEPTIONS, CONFIG_PROP_MAX_EXCEPTIONS_DEFAULT, descriptorReader, logger, remoteRepositoryManager, versionRangeResolver
Constructor and Description |
---|
DfDependencyCollector() |
Modifier and Type | Method and Description |
---|---|
CollectResult |
collectDependencies(RepositorySystemSession session,
CollectRequest request)
Collects the transitive dependencies of some artifacts and builds a dependency graph.
|
initService, setArtifactDescriptorReader, setRemoteRepositoryManager, setVersionRangeResolver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initService
public static final String NAME
public DfDependencyCollector()
public CollectResult collectDependencies(RepositorySystemSession session, CollectRequest request) throws DependencyCollectionException
DependencyCollector
collectDependencies
in interface DependencyCollector
session
- The repository session, must not be null
.request
- The collection request, must not be null
.null
.DependencyCollectionException
- If the dependency tree could not be built.RepositorySystemSession.getDependencyTraverser()
,
RepositorySystemSession.getDependencyManager()
,
RepositorySystemSession.getDependencySelector()
,
RepositorySystemSession.getVersionFilter()
,
RepositorySystemSession.getDependencyGraphTransformer()
,
RepositorySystem.collectDependencies(RepositorySystemSession, CollectRequest)
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.