public final class FatArtifactTraverser extends Object implements DependencyTraverser
ArtifactProperties.INCLUDES_DEPENDENCIES
set to
true
.Artifact.getProperties()
Constructor and Description |
---|
FatArtifactTraverser()
Creates a new instance of this dependency traverser.
|
Modifier and Type | Method and Description |
---|---|
DependencyTraverser |
deriveChildTraverser(DependencyCollectionContext context)
Derives a dependency traverser that will be used to decide whether the transitive dependencies of the dependency
given in the collection context shall be traversed.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
traverseDependency(Dependency dependency)
Decides whether the dependencies of the specified dependency should be traversed.
|
public FatArtifactTraverser()
public boolean traverseDependency(Dependency dependency)
DependencyTraverser
traverseDependency
in interface DependencyTraverser
dependency
- The dependency to check, must not be null
.true
if the dependency graph builder should recurse into the specified dependency and process its
dependencies, false
otherwise.public DependencyTraverser deriveChildTraverser(DependencyCollectionContext context)
DependencyTraverser
deriveChildTraverser
in interface DependencyTraverser
context
- The dependency collection context, must not be null
.null
if dependencies should be unconditionally
traversed in the sub graph.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.