Class FatArtifactTraverser
java.lang.Object
org.eclipse.aether.util.graph.traverser.FatArtifactTraverser
- All Implemented Interfaces:
DependencyTraverser
Deprecated.
since 2.0, the DependencyTraverser implementation should be provided by the resolver consumer
A dependency traverser that excludes the dependencies of fat artifacts from the traversal. Fat artifacts are
artifacts that have the property
ArtifactProperties.INCLUDES_DEPENDENCIES set to
true.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new instance of this dependency traverser. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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.booleanDeprecated.inthashCode()Deprecated.booleantraverseDependency(Dependency dependency) Deprecated.Decides whether the dependencies of the specified dependency should be traversed.
-
Constructor Details
-
FatArtifactTraverser
public FatArtifactTraverser()Deprecated.Creates a new instance of this dependency traverser.
-
-
Method Details
-
traverseDependency
Deprecated.Description copied from interface:DependencyTraverserDecides whether the dependencies of the specified dependency should be traversed.- Specified by:
traverseDependencyin interfaceDependencyTraverser- Parameters:
dependency- The dependency to check, must not benull.- Returns:
trueif the dependency graph builder should recurse into the specified dependency and process its dependencies,falseotherwise.
-
deriveChildTraverser
Deprecated.Description copied from interface:DependencyTraverserDerives a dependency traverser that will be used to decide whether the transitive dependencies of the dependency given in the collection context shall be traversed. When calculating the child traverser, implementors are strongly advised to simply return the current instance if nothing changed to help save memory.- Specified by:
deriveChildTraverserin interfaceDependencyTraverser- Parameters:
context- The dependency collection context, must not benull.- Returns:
- The dependency traverser for the target node or
nullif dependencies should be unconditionally traversed in the sub graph.
-
equals
Deprecated. -
hashCode
Deprecated.
-