Uses of Interface
org.eclipse.aether.graph.DependencyNode
Packages that use DependencyNode
Package
Description
The primary API of the
RepositorySystem
and its functionality.The types and extension points for collecting the transitive dependencies of an artifact and building a dependency
graph.
The representation of a dependency graph by means of connected dependency nodes.
The various sub components that collectively implement the repository system.
Internal helper classes for dependency collector.
Utility classes to ease unit testing.
The types supporting the resolution of artifacts and metadata from repositories.
Various dependency filters for selecting nodes in a dependency graph.
Various dependency managers for building a dependency graph.
Various dependency graph transformers for post-processing a dependency graph.
Various dependency visitors for inspecting a dependency graph.
-
Uses of DependencyNode in org.apache.maven.resolver.examples.resolver
Methods in org.apache.maven.resolver.examples.resolver that return DependencyNodeConstructors in org.apache.maven.resolver.examples.resolver with parameters of type DependencyNodeModifierConstructorDescriptionResolverResult
(DependencyNode root, List<File> resolvedFiles, String resolvedClassPath) -
Uses of DependencyNode in org.eclipse.aether
Methods in org.eclipse.aether that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter filter) Flattens the provided graph asDependencyNode
into aList
<DependencyNode>
according to session configuration.Methods in org.eclipse.aether with parameters of type DependencyNodeModifier and TypeMethodDescriptionRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter filter) Flattens the provided graph asDependencyNode
into aList
<DependencyNode>
according to session configuration. -
Uses of DependencyNode in org.eclipse.aether.collection
Methods in org.eclipse.aether.collection that return DependencyNodeModifier and TypeMethodDescriptionCollectResult.getRoot()
Gets the root node of the dependency graph.DependencyGraphTransformer.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Transforms the dependency graph denoted by the specified root node.Methods in org.eclipse.aether.collection that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionCollectStepData.getPath()
Returns the path of dependency nodes that led collector to current node returned byCollectStepData.getNode()
.Collection
<? extends List<? extends DependencyNode>> UnsolvableVersionConflictException.getPaths()
Gets the paths leading to the conflicting dependencies.Methods in org.eclipse.aether.collection with parameters of type DependencyNodeModifier and TypeMethodDescriptionCollectResult.setRoot
(DependencyNode root) Sets the root node of the dependency graph.DependencyGraphTransformer.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Transforms the dependency graph denoted by the specified root node.Constructor parameters in org.eclipse.aether.collection with type arguments of type DependencyNodeModifierConstructorDescriptionUnsolvableVersionConflictException
(String message, Collection<? extends List<? extends DependencyNode>> paths) Creates a new exception with the specified paths to conflicting nodes in the dependency graph.UnsolvableVersionConflictException
(Collection<? extends List<? extends DependencyNode>> paths) Deprecated. -
Uses of DependencyNode in org.eclipse.aether.graph
Classes in org.eclipse.aether.graph that implement DependencyNodeModifier and TypeClassDescriptionfinal class
A node within a dependency graph.Methods in org.eclipse.aether.graph that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionDefaultDependencyNode.getChildren()
DependencyNode.getChildren()
Gets the child nodes of this node.Methods in org.eclipse.aether.graph with parameters of type DependencyNodeModifier and TypeMethodDescriptionboolean
DependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) Indicates whether the specified dependency node shall be included or excluded.boolean
DependencyVisitor.visitEnter
(DependencyNode node) Notifies the visitor of a node visit before its children have been processed.boolean
DependencyVisitor.visitLeave
(DependencyNode node) Notifies the visitor of a node visit after its children have been processed.Method parameters in org.eclipse.aether.graph with type arguments of type DependencyNodeModifier and TypeMethodDescriptionboolean
DependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) Indicates whether the specified dependency node shall be included or excluded.void
DefaultDependencyNode.setChildren
(List<DependencyNode> children) void
DependencyNode.setChildren
(List<DependencyNode> children) Sets the child nodes of this node.Constructors in org.eclipse.aether.graph with parameters of type DependencyNodeModifierConstructorDescriptionCreates a mostly shallow clone of the specified node. -
Uses of DependencyNode in org.eclipse.aether.internal.impl
Methods in org.eclipse.aether.internal.impl that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionDefaultRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter dependencyFilter) Methods in org.eclipse.aether.internal.impl with parameters of type DependencyNodeModifier and TypeMethodDescriptionDefaultRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter dependencyFilter) -
Uses of DependencyNode in org.eclipse.aether.internal.impl.collect
Methods in org.eclipse.aether.internal.impl.collect that return types with arguments of type DependencyNodeMethods in org.eclipse.aether.internal.impl.collect with parameters of type DependencyNodeModifier and TypeMethodDescriptionprotected static DefaultDependencyNode
DependencyCollectorDelegate.createDependencyNode
(List<Artifact> relocations, PremanagedDependency preManaged, VersionRangeResult rangeResult, Version version, Dependency d, ArtifactDescriptorResult descriptorResult, DependencyNode cycleNode) protected abstract void
DependencyCollectorDelegate.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) Method parameters in org.eclipse.aether.internal.impl.collect with type arguments of type DependencyNodeModifier and TypeMethodDescriptionvoid
DependencyCollectorDelegate.Results.addCycle
(List<DependencyNode> nodes, int cycleEntry, Dependency dependency) void
DependencyCollectorDelegate.Results.addException
(Dependency dependency, Exception e, List<DependencyNode> nodes) protected RequestTrace
DependencyCollectorDelegate.collectStepTrace
(RequestTrace trace, String context, List<DependencyNode> path, Dependency node) Creates childRequestTrace
instance from passed inRequestTrace
and parameters by creatingCollectStepDataImpl
instance out of passed in data.static int
DefaultDependencyCycle.find
(List<DependencyNode> nodes, Artifact artifact) Searches for a node associated with the given artifact.void
DataPool.putChildren
(Object key, List<DependencyNode> children) protected ArtifactDescriptorResult
DependencyCollectorDelegate.resolveCachedArtifactDescriptor
(DataPool pool, ArtifactDescriptorRequest descriptorRequest, RepositorySystemSession session, Dependency d, DependencyCollectorDelegate.Results results, List<DependencyNode> nodes) Constructor parameters in org.eclipse.aether.internal.impl.collect with type arguments of type DependencyNodeModifierConstructorDescriptionCollectStepDataImpl
(String context, List<DependencyNode> path, Dependency node) DefaultDependencyCycle
(List<DependencyNode> nodes, int cycleEntry, Dependency dependency) -
Uses of DependencyNode in org.eclipse.aether.internal.impl.collect.bf
Methods in org.eclipse.aether.internal.impl.collect.bf with parameters of type DependencyNodeModifier and TypeMethodDescriptionprotected void
BfDependencyCollector.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) -
Uses of DependencyNode in org.eclipse.aether.internal.impl.collect.df
Methods in org.eclipse.aether.internal.impl.collect.df with parameters of type DependencyNodeModifier and TypeMethodDescriptionprotected void
DfDependencyCollector.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) -
Uses of DependencyNode in org.eclipse.aether.internal.impl.scope
Methods in org.eclipse.aether.internal.impl.scope that return DependencyNodeModifier and TypeMethodDescriptionManagedDependencyContextRefiner.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Methods in org.eclipse.aether.internal.impl.scope with parameters of type DependencyNodeModifier and TypeMethodDescriptionManagedDependencyContextRefiner.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) -
Uses of DependencyNode in org.eclipse.aether.internal.test.util
Methods in org.eclipse.aether.internal.test.util that return DependencyNodeModifier and TypeMethodDescriptionNodeBuilder.build()
Parse the graph definition read from the given URL.DependencyGraphParser.parseLiteral
(String dependencyGraph) Parse the given graph definition.DependencyGraphParser.parseResource
(String resource) Parse the graph definition read from the given classpath resource.Methods in org.eclipse.aether.internal.test.util that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionDependencyGraphParser.parseMultiResource
(String resource) Parse multiple graphs in one resource, divided by "---".Methods in org.eclipse.aether.internal.test.util with parameters of type DependencyNode -
Uses of DependencyNode in org.eclipse.aether.resolution
Methods in org.eclipse.aether.resolution that return DependencyNodeModifier and TypeMethodDescriptionArtifactRequest.getDependencyNode()
Gets the dependency node (if any) for which to resolve the artifact.DependencyRequest.getRoot()
Gets the root node of the dependency graph whose artifacts should be resolved.DependencyResult.getRoot()
Gets the root node of the resolved dependency graph.Methods in org.eclipse.aether.resolution that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionDependencyResult.getDependencyNodeResults()
Gets the resolution results for the dependency nodes that matchedDependencyRequest.getFilter()
.Methods in org.eclipse.aether.resolution with parameters of type DependencyNodeModifier and TypeMethodDescriptionArtifactRequest.setDependencyNode
(DependencyNode node) Sets the dependency node to resolve.DependencyRequest.setRoot
(DependencyNode root) Sets the root node of the dependency graph whose artifacts should be resolved.DependencyResult.setRoot
(DependencyNode root) Sets the root node of the resolved dependency graph.Method parameters in org.eclipse.aether.resolution with type arguments of type DependencyNodeModifier and TypeMethodDescriptionDependencyResult.setDependencyNodeResults
(List<DependencyNode> results) Sets the resolution results for the dependency nodes that matchedDependencyRequest.getFilter()
.Constructors in org.eclipse.aether.resolution with parameters of type DependencyNodeModifierConstructorDescriptionCreates a request from the specified dependency node.DependencyRequest
(DependencyNode node, DependencyFilter filter) Creates a request for the specified dependency graph and with the given resolution filter. -
Uses of DependencyNode in org.eclipse.aether.util.filter
Methods in org.eclipse.aether.util.filter with parameters of type DependencyNodeModifier and TypeMethodDescriptionboolean
AndDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
ExclusionsDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
NotDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
OrDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
ScopeDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) Method parameters in org.eclipse.aether.util.filter with type arguments of type DependencyNodeModifier and TypeMethodDescriptionboolean
AndDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
ExclusionsDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
NotDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
OrDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) boolean
ScopeDependencyFilter.accept
(DependencyNode node, List<DependencyNode> parents) -
Uses of DependencyNode in org.eclipse.aether.util.graph.manager
Methods in org.eclipse.aether.util.graph.manager with parameters of type DependencyNodeModifier and TypeMethodDescriptionstatic Collection
<Exclusion> DependencyManagerUtils.getPremanagedExclusions
(DependencyNode node) Gets theExclusion
s of the specified dependency node before dependency management was applied (if any).static Boolean
DependencyManagerUtils.getPremanagedOptional
(DependencyNode node) Gets the optional flag of the specified dependency node before dependency management was applied (if any).DependencyManagerUtils.getPremanagedProperties
(DependencyNode node) Gets the properties of the specified dependency node before dependency management was applied (if any).static String
DependencyManagerUtils.getPremanagedScope
(DependencyNode node) Gets the scope of the specified dependency node before dependency management was applied (if any).static String
DependencyManagerUtils.getPremanagedVersion
(DependencyNode node) Gets the version or version range of the specified dependency node before dependency management was applied (if any). -
Uses of DependencyNode in org.eclipse.aether.util.graph.transformer
Methods in org.eclipse.aether.util.graph.transformer that return DependencyNodeModifier and TypeMethodDescriptionConflictResolver.ConflictItem.getNode()
Gets the dependency node involved in the conflict.ConflictResolver.ConflictContext.getRoot()
Gets the root node of the dependency graph being transformed.ChainedDependencyGraphTransformer.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) ConflictIdSorter.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) ConflictMarker.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) After the execution of this method, every DependencyNode with an attached dependency is member of one conflict group.ConflictResolver.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) JavaDependencyContextRefiner.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Deprecated.NoopDependencyGraphTransformer.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Methods in org.eclipse.aether.util.graph.transformer with parameters of type DependencyNodeModifier and TypeMethodDescriptionConflictResolver.OptionalitySelector.getInstance
(DependencyNode root, DependencyGraphTransformationContext context) Retrieves the optionality selector for use during the specified graph transformation.ConflictResolver.ScopeDeriver.getInstance
(DependencyNode root, DependencyGraphTransformationContext context) Retrieves the scope deriver for use during the specified graph transformation.ConflictResolver.ScopeSelector.getInstance
(DependencyNode root, DependencyGraphTransformationContext context) Retrieves the scope selector for use during the specified graph transformation.ConflictResolver.VersionSelector.getInstance
(DependencyNode root, DependencyGraphTransformationContext context) Retrieves the version selector for use during the specified graph transformation.boolean
ConflictResolver.ConflictContext.isIncluded
(DependencyNode node) Determines whether the specified dependency node belongs to this conflict context.ChainedDependencyGraphTransformer.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) ConflictIdSorter.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) ConflictMarker.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) After the execution of this method, every DependencyNode with an attached dependency is member of one conflict group.ConflictResolver.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) JavaDependencyContextRefiner.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Deprecated.NoopDependencyGraphTransformer.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Constructors in org.eclipse.aether.util.graph.transformer with parameters of type DependencyNodeModifierConstructorDescriptionConflictContext
(DependencyNode root, Object conflictId, Map<DependencyNode, Object> conflictIds, Collection<ConflictResolver.ConflictItem> items) Creates a new conflict context.ConflictItem
(DependencyNode parent, DependencyNode node, int depth, int optionalities, String... scopes) Creates a new conflict item with the specified properties.Constructor parameters in org.eclipse.aether.util.graph.transformer with type arguments of type DependencyNodeModifierConstructorDescriptionConflictContext
(DependencyNode root, Object conflictId, Map<DependencyNode, Object> conflictIds, Collection<ConflictResolver.ConflictItem> items) Creates a new conflict context. -
Uses of DependencyNode in org.eclipse.aether.util.graph.visitor
Fields in org.eclipse.aether.util.graph.visitor with type parameters of type DependencyNodeModifier and TypeFieldDescriptionprotected final Consumer
<DependencyNode> AbstractDependencyNodeConsumerVisitor.nodeConsumer
protected final Consumer
<DependencyNode> AbstractDependencyNodeConsumerVisitor.nodeConsumer
protected final Consumer
<DependencyNode> AbstractDependencyNodeConsumerVisitor.nodeConsumer
protected final List
<DependencyNode> AbstractDepthFirstNodeListGenerator.nodes
Deprecated.protected final List
<DependencyNode> AbstractDepthFirstNodeListGenerator.nodes
Deprecated.Methods in org.eclipse.aether.util.graph.visitor that return DependencyNodeModifier and TypeMethodDescriptionprotected DependencyNode
CloningDependencyVisitor.clone
(DependencyNode node) Creates a clone of the specified node.final DependencyNode
CloningDependencyVisitor.getRootNode()
Gets the root node of the cloned dependency graph.Methods in org.eclipse.aether.util.graph.visitor that return types with arguments of type DependencyNodeModifier and TypeMethodDescriptionstatic Function
<DependencyNode, String> DependencyGraphDumper.artifactProperties
(Collection<String> properties) Decorator of "artifact properties": prints out asked properties, if present.static List
<Function<DependencyNode, String>> DependencyGraphDumper.defaultsWith
(Collection<Function<DependencyNode, String>> extras) ExtendsDependencyGraphDumper.DEFAULT_DECORATORS
decorators with passed in ones.static Function
<DependencyNode, String> DependencyGraphDumper.effectiveDependency()
Decorator of "effective dependency": shows effective scope and optionality.NodeListGenerator.getNodes()
Gets the list of dependency nodes that was generated during the graph traversal.NodeListGenerator.getNodesWithDependencies()
Gets the list of dependency nodes that was generated during the graph traversal and havenon-null
getDependency()
.PathRecordingDependencyVisitor.getPaths()
Gets the paths leading to nodes matching the filter that have been recorded during the graph visit.static Function
<DependencyNode, String> DependencyGraphDumper.premanagedExclusions()
Decorator of "managed exclusions": explains on nodes what was managed.static Function
<DependencyNode, String> DependencyGraphDumper.premanagedOptional()
Decorator of "managed optionality": explains on nodes what was managed.static Function
<DependencyNode, String> DependencyGraphDumper.premanagedProperties()
Decorator of "managed properties": explains on nodes what was managed.static Function
<DependencyNode, String> DependencyGraphDumper.premanagedScope()
Decorator of "managed scope": explains on nodes what was managed.static Function
<DependencyNode, String> DependencyGraphDumper.premanagedVersion()
Decorator of "managed version": explains on nodes what was managed.static Function
<DependencyNode, String> DependencyGraphDumper.rangeMember()
Decorator of "range member": explains on nodes what range it participates in.static Function
<DependencyNode, String> DependencyGraphDumper.winnerNode()
Decorator of "winner node": explains on losers why lost.Methods in org.eclipse.aether.util.graph.visitor with parameters of type DependencyNodeModifier and TypeMethodDescriptionvoid
NodeListGenerator.accept
(DependencyNode dependencyNode) protected DependencyNode
CloningDependencyVisitor.clone
(DependencyNode node) Creates a clone of the specified node.final boolean
CloningDependencyVisitor.visitEnter
(DependencyNode node) boolean
DependencyGraphDumper.visitEnter
(DependencyNode node) boolean
FilteringDependencyVisitor.visitEnter
(DependencyNode node) boolean
LevelOrderDependencyNodeConsumerVisitor.visitEnter
(DependencyNode node) boolean
PathRecordingDependencyVisitor.visitEnter
(DependencyNode node) boolean
PostorderDependencyNodeConsumerVisitor.visitEnter
(DependencyNode node) boolean
PostorderNodeListGenerator.visitEnter
(DependencyNode node) Deprecated.boolean
PreorderDependencyNodeConsumerVisitor.visitEnter
(DependencyNode node) boolean
PreorderNodeListGenerator.visitEnter
(DependencyNode node) Deprecated.boolean
TreeDependencyVisitor.visitEnter
(DependencyNode node) final boolean
CloningDependencyVisitor.visitLeave
(DependencyNode node) boolean
DependencyGraphDumper.visitLeave
(DependencyNode node) boolean
FilteringDependencyVisitor.visitLeave
(DependencyNode node) boolean
LevelOrderDependencyNodeConsumerVisitor.visitLeave
(DependencyNode node) boolean
PathRecordingDependencyVisitor.visitLeave
(DependencyNode node) boolean
PostorderDependencyNodeConsumerVisitor.visitLeave
(DependencyNode node) boolean
PostorderNodeListGenerator.visitLeave
(DependencyNode node) Deprecated.boolean
PreorderDependencyNodeConsumerVisitor.visitLeave
(DependencyNode node) boolean
PreorderNodeListGenerator.visitLeave
(DependencyNode node) Deprecated.boolean
TreeDependencyVisitor.visitLeave
(DependencyNode node) Method parameters in org.eclipse.aether.util.graph.visitor with type arguments of type DependencyNodeModifier and TypeMethodDescriptionstatic List
<Function<DependencyNode, String>> DependencyGraphDumper.defaultsWith
(Collection<Function<DependencyNode, String>> extras) ExtendsDependencyGraphDumper.DEFAULT_DECORATORS
decorators with passed in ones.protected String
DependencyGraphDumper.formatIndentation
(Deque<DependencyNode> nodes) protected String
DependencyGraphDumper.formatLine
(Deque<DependencyNode> nodes) protected String
DependencyGraphDumper.formatNode
(Deque<DependencyNode> nodes) Constructor parameters in org.eclipse.aether.util.graph.visitor with type arguments of type DependencyNodeModifierConstructorDescriptionDependencyGraphDumper
(Consumer<String> consumer, Collection<Function<DependencyNode, String>> decorators) Creates instance with given consumer and decorators.LevelOrderDependencyNodeConsumerVisitor
(Consumer<DependencyNode> nodeConsumer) Creates a new level order list generator.PostorderDependencyNodeConsumerVisitor
(Consumer<DependencyNode> nodeConsumer) Creates a new postorder list generator.PreorderDependencyNodeConsumerVisitor
(Consumer<DependencyNode> nodeConsumer) Creates a new preorder list generator.
UnsolvableVersionConflictException(String, Collection)
instead.