public interface DependencyTraverser
Note: Implementations must be stateless.
Warning: This hook is called from a hot spot and therefore implementations should pay attention to
performance. Among others, implementations should provide a semantic
|Modifier and Type||Method and Description|
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.
Decides whether the dependencies of the specified dependency should be traversed.
boolean traverseDependency(Dependency dependency)
dependency- The dependency to check, must not be
trueif the dependency graph builder should recurse into the specified dependency and process its dependencies,
context- The dependency collection context, must not be
nullif dependencies should be unconditionally traversed in the sub graph.
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.