@Singleton @Named(value="bf") public class BfDependencyCollector extends DependencyCollectorDelegate implements Service
DependencyCollector| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PROP_SKIPPER
The key in the repository session's
configuration properties used to store a Boolean flag controlling the resolver's skip mode. |
static boolean |
CONFIG_PROP_SKIPPER_DEFAULT
The default value for
CONFIG_PROP_SKIPPER, true. |
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 |
|---|
BfDependencyCollector() |
| 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, setVersionRangeResolverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitServicepublic static final String NAME
public static final String CONFIG_PROP_SKIPPER
configuration properties used to store a Boolean flag controlling the resolver's skip mode.public static final boolean CONFIG_PROP_SKIPPER_DEFAULT
CONFIG_PROP_SKIPPER, true.public BfDependencyCollector()
public CollectResult collectDependencies(RepositorySystemSession session, CollectRequest request) throws DependencyCollectionException
DependencyCollectorcollectDependencies in interface DependencyCollectorsession - 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.