public class CircularDependenciesResult
extends java.lang.Object
Constructor and Description |
---|
CircularDependenciesResult(Workset aWorkset)
Initialize the new instance with a workset.
|
Modifier and Type | Method and Description |
---|---|
void |
addDependencyPath(ClassInformation[] path)
Add the given dependency path to this result.
|
protected org.pfsw.util.CollectionUtil |
coll() |
ClassInformation[] |
getCycleAt(int index)
Returns classes that build a cycle from the internal position defined
by index.
|
java.util.List<ClassInformation[]> |
getDependencyPaths()
Returns all found dependency chains.
|
Workset |
getWorkset()
Returns the workset this result was built for.
|
boolean |
isEmpty()
Returns true if no dependency cycle is in this result
|
int |
numberOfCycles()
Returns how many circular dependencies this result contains.
|
public CircularDependenciesResult(Workset aWorkset)
public void addDependencyPath(ClassInformation[] path)
public int numberOfCycles()
public boolean isEmpty()
public ClassInformation[] getCycleAt(int index)
public Workset getWorkset()
public java.util.List<ClassInformation[]> getDependencyPaths()
protected org.pfsw.util.CollectionUtil coll()