public final class DefaultDependencyCycle extends Object implements org.eclipse.aether.graph.DependencyCycle
DependencyCycle
.
Internal helper class for collector implementations.Constructor and Description |
---|
DefaultDependencyCycle(List<org.eclipse.aether.graph.DependencyNode> nodes,
int cycleEntry,
org.eclipse.aether.graph.Dependency dependency) |
Modifier and Type | Method and Description |
---|---|
static int |
find(List<org.eclipse.aether.graph.DependencyNode> nodes,
org.eclipse.aether.artifact.Artifact artifact)
Searches for a node associated with the given artifact.
|
List<org.eclipse.aether.graph.Dependency> |
getCyclicDependencies() |
List<org.eclipse.aether.graph.Dependency> |
getPrecedingDependencies() |
String |
toString() |
public DefaultDependencyCycle(List<org.eclipse.aether.graph.DependencyNode> nodes, int cycleEntry, org.eclipse.aether.graph.Dependency dependency)
public List<org.eclipse.aether.graph.Dependency> getPrecedingDependencies()
getPrecedingDependencies
in interface org.eclipse.aether.graph.DependencyCycle
public List<org.eclipse.aether.graph.Dependency> getCyclicDependencies()
getCyclicDependencies
in interface org.eclipse.aether.graph.DependencyCycle
public static int find(List<org.eclipse.aether.graph.DependencyNode> nodes, org.eclipse.aether.artifact.Artifact artifact)
nodes
- a list representing single path in the dependency graph. First element is the root.artifact
- to find among the parent nodes.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.