|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectclassycle.dependency.CyclesResult
public class CyclesResult
Result of a cyclic check.
| Constructor Summary | |
|---|---|
CyclesResult(java.lang.String statement,
boolean packageCycle)
Creates an instance for the specified statement. |
|
| Method Summary | |
|---|---|
void |
addCycle(StrongComponent cycle)
Adds the specified cycle. |
java.util.List<StrongComponent> |
getCycles()
Returns all added cycles. |
java.lang.String |
getStatement()
Returns the statement. |
boolean |
isOk()
Returns true if no cycles have been added. |
boolean |
isPackageCycle()
Returns true/false if this result is on package/class cycles. |
java.lang.String |
toString()
Returns the result in a human-readable form which is used by the DefaultResultRenderer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CyclesResult(java.lang.String statement,
boolean packageCycle)
packageCycle - If true/false the check is on package/class cycles| Method Detail |
|---|
public void addCycle(StrongComponent cycle)
public java.util.List<StrongComponent> getCycles()
public java.lang.String getStatement()
public boolean isPackageCycle()
true/false if this result is on package/class cycles.
public boolean isOk()
true if no cycles have been added.
isOk in interface Resultpublic java.lang.String toString()
DefaultResultRenderer.
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||