Uses of Interface
org.eclipse.aether.graph.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
ModifierConstructorDescriptionResolverResult
(DependencyNode root, List<File> resolvedFiles, String resolvedClassPath) -
Uses of DependencyNode in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter filter) Flattens the provided graph asDependencyNode
into aList
<DependencyNode>
according to session configuration.Modifier 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
Modifier 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.Modifier 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.Modifier 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.ModifierConstructorDescriptionUnsolvableVersionConflictException
(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
Modifier and TypeClassDescriptionfinal class
A node within a dependency graph.Modifier and TypeMethodDescriptionDefaultDependencyNode.getChildren()
DependencyNode.getChildren()
Gets the child nodes of this node.Modifier 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.Modifier 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.ModifierConstructorDescriptionCreates a mostly shallow clone of the specified node. -
Uses of DependencyNode in org.eclipse.aether.internal.impl
Modifier and TypeMethodDescriptionDefaultRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter dependencyFilter) Modifier and TypeMethodDescriptionDefaultRepositorySystem.flattenDependencyNodes
(RepositorySystemSession session, DependencyNode root, DependencyFilter dependencyFilter) -
Uses of DependencyNode in org.eclipse.aether.internal.impl.collect
Modifier 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) Modifier 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) ModifierConstructorDescriptionCollectStepDataImpl
(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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionManagedDependencyContextRefiner.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) Modifier and TypeMethodDescriptionManagedDependencyContextRefiner.transformGraph
(DependencyNode node, DependencyGraphTransformationContext context) -
Uses of DependencyNode in org.eclipse.aether.internal.test.util
Modifier 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.Modifier and TypeMethodDescriptionDependencyGraphParser.parseMultiResource
(String resource) Parse multiple graphs in one resource, divided by "---". -
Uses of DependencyNode in org.eclipse.aether.resolution
Modifier 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.Modifier and TypeMethodDescriptionDependencyResult.getDependencyNodeResults()
Gets the resolution results for the dependency nodes that matchedDependencyRequest.getFilter()
.Modifier 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.Modifier and TypeMethodDescriptionDependencyResult.setDependencyNodeResults
(List<DependencyNode> results) Sets the resolution results for the dependency nodes that matchedDependencyRequest.getFilter()
.ModifierConstructorDescriptionCreates 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
Modifier 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) Modifier 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
Modifier 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
Modifier 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) Modifier 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) ModifierConstructorDescriptionConflictContext
(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.ModifierConstructorDescriptionConflictContext
(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
Modifier 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.Modifier 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.Modifier 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.Modifier 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) Modifier 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) ModifierConstructorDescriptionDependencyGraphDumper
(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.