public interface DependencyCollectionContext
DependencyManager.deriveChildManager(DependencyCollectionContext)
,
DependencyTraverser.deriveChildTraverser(DependencyCollectionContext)
,
DependencySelector.deriveChildSelector(DependencyCollectionContext)
,
VersionFilter.deriveChildFilter(DependencyCollectionContext)
Modifier and Type | Method and Description |
---|---|
Artifact |
getArtifact()
Gets the artifact whose children are to be processed next during dependency collection.
|
Dependency |
getDependency()
Gets the dependency whose children are to be processed next during dependency collection.
|
List<Dependency> |
getManagedDependencies()
Gets the dependency management information that was contributed by the artifact descriptor of the current
dependency.
|
RepositorySystemSession |
getSession()
Gets the repository system session during which the dependency collection happens.
|
RepositorySystemSession getSession()
null
.Artifact getArtifact()
getDependency().getArtifact()
. In case of the root node however,
getDependency()
might be null
while the node still has an artifact which serves as its label and
is not to be resolved.null
in case of the root node without
dependency and label.Dependency getDependency()
null
in case of the root node without
dependency.List<Dependency> getManagedDependencies()
null
.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.