Package classycle.dependency
Class CyclesResult
- java.lang.Object
-
- classycle.dependency.CyclesResult
-
-
Constructor Summary
Constructors Constructor Description CyclesResult(java.lang.String statement, boolean packageCycle)
Creates an instance for the specified statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
Returnstrue
if no cycles have been added.boolean
isPackageCycle()
Returnstrue/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 theDefaultResultRenderer
.
-
-
-
Method Detail
-
addCycle
public void addCycle(StrongComponent cycle)
Adds the specified cycle.
-
getCycles
public java.util.List<StrongComponent> getCycles()
Returns all added cycles.
-
getStatement
public java.lang.String getStatement()
Returns the statement.
-
isPackageCycle
public boolean isPackageCycle()
Returnstrue/false
if this result is on package/class cycles.
-
isOk
public boolean isOk()
Returnstrue
if no cycles have been added.
-
toString
public java.lang.String toString()
Returns the result in a human-readable form which is used by theDefaultResultRenderer
.- Overrides:
toString
in classjava.lang.Object
-
-