| Constructor and Description |
|---|
CyclesResult(String statement,
boolean packageCycle)
Creates an instance for the specified statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCycle(StrongComponent cycle)
Adds the specified cycle.
|
List<StrongComponent> |
getCycles()
Returns all added cycles.
|
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. |
String |
toString()
Returns the result in a human-readable form which is used by the
DefaultResultRenderer. |
public CyclesResult(String statement, boolean packageCycle)
packageCycle - If true/false the check is on package/class cyclespublic void addCycle(StrongComponent cycle)
public List<StrongComponent> getCycles()
public 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.public String toString()
DefaultResultRenderer.Copyright © 2014. All rights reserved.