Class BfDependencyCollector
java.lang.Object
org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate
org.eclipse.aether.internal.impl.collect.bf.BfDependencyCollector
- All Implemented Interfaces:
DependencyCollector
Breadth-first
DependencyCollector
- Since:
- 1.8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate
DependencyCollectorDelegate.Results
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The key in the repository session'sconfiguration properties
used to store aBoolean
flag controlling the resolver's skip mode.static final String
The count of threads to be used when collecting POMs in parallel.static final boolean
The default value forCONFIG_PROP_SKIPPER
,true
.static final int
The default value forCONFIG_PROP_THREADS
, default value 5.static final String
Fields inherited from class org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate
artifactDecoratorFactories, CONFIG_PROP_MAX_CYCLES, CONFIG_PROP_MAX_EXCEPTIONS, DEFAULT_MAX_CYCLES, DEFAULT_MAX_EXCEPTIONS, descriptorReader, logger, remoteRepositoryManager, versionRangeResolver
-
Constructor Summary
ConstructorDescriptionBfDependencyCollector
(RemoteRepositoryManager remoteRepositoryManager, ArtifactDescriptorReader artifactDescriptorReader, VersionRangeResolver versionRangeResolver, Map<String, ArtifactDecoratorFactory> artifactDecoratorFactories) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doCollectDependencies
(RepositorySystemSession session, RequestTrace trace, DataPool pool, DefaultDependencyCollectionContext context, DefaultVersionFilterContext versionContext, CollectRequest request, DependencyNode node, List<RemoteRepository> repositories, List<Dependency> dependencies, List<Dependency> managedDependencies, DependencyCollectorDelegate.Results results) Methods inherited from class org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate
cachedResolveRangeResult, collectDependencies, collectStepTrace, createArtifactDescriptorRequest, createDependencyNode, createDependencyNode, createVersionRangeRequest, filterVersions, getId, getRemoteRepositories, isLackingDescriptor, mergeDeps, resolveCachedArtifactDescriptor, setUpSession
-
Field Details
-
NAME
- See Also:
-
CONFIG_PROP_SKIPPER
The key in the repository session'sconfiguration properties
used to store aBoolean
flag controlling the resolver's skip mode.- Since:
- 1.8.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Boolean
- Default value:
DEFAULT_SKIPPER
-
DEFAULT_SKIPPER
The default value forCONFIG_PROP_SKIPPER
,true
.- Since:
- 1.8.0
- See Also:
-
CONFIG_PROP_THREADS
The count of threads to be used when collecting POMs in parallel.- Since:
- 1.9.0
- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
Integer
- Default value:
DEFAULT_THREADS
-
DEFAULT_THREADS
The default value forCONFIG_PROP_THREADS
, default value 5.- Since:
- 1.9.0
- See Also:
-
-
Constructor Details
-
BfDependencyCollector
@Inject public BfDependencyCollector(RemoteRepositoryManager remoteRepositoryManager, ArtifactDescriptorReader artifactDescriptorReader, VersionRangeResolver versionRangeResolver, Map<String, ArtifactDecoratorFactory> artifactDecoratorFactories)
-
-
Method Details
-
doCollectDependencies
protected void doCollectDependencies(RepositorySystemSession session, RequestTrace trace, DataPool pool, DefaultDependencyCollectionContext context, DefaultVersionFilterContext versionContext, CollectRequest request, DependencyNode node, List<RemoteRepository> repositories, List<Dependency> dependencies, List<Dependency> managedDependencies, DependencyCollectorDelegate.Results results) throws DependencyCollectionException - Specified by:
doCollectDependencies
in classDependencyCollectorDelegate
- Throws:
DependencyCollectionException
-