final class DefaultDependencyCycle extends java.lang.Object implements DependencyCycle
DefaultDependencyCollector| Modifier and Type | Field and Description |
|---|---|
private int |
cycleEntry |
private java.util.List<Dependency> |
dependencies |
| Constructor and Description |
|---|
DefaultDependencyCycle(NodeStack nodes,
int cycleEntry,
Dependency dependency) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Dependency> |
getCyclicDependencies()
Gets the dependencies that actually form the cycle.
|
java.util.List<Dependency> |
getPrecedingDependencies()
Gets the dependencies that lead to the first dependency on the cycle, starting from the root of the dependency
graph.
|
java.lang.String |
toString() |
private final java.util.List<Dependency> dependencies
private final int cycleEntry
DefaultDependencyCycle(NodeStack nodes, int cycleEntry, Dependency dependency)
public java.util.List<Dependency> getPrecedingDependencies()
DependencyCyclegetPrecedingDependencies in interface DependencyCyclenull.public java.util.List<Dependency> getCyclicDependencies()
DependencyCyclegetCyclicDependencies in interface DependencyCyclenull.public java.lang.String toString()
toString in class java.lang.Object