Package classycle.dependency
Class DependencyResult
- java.lang.Object
-
- classycle.dependency.DependencyResult
-
-
Constructor Summary
Constructors Constructor Description DependencyResult(StringPattern startSet, StringPattern finalSet, java.lang.String statement, AtomicVertex[] paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringPattern
getFinalSet()
Returns the pattern describing the final set.AtomicVertex[]
getPaths()
Returns the vertices of the paths of unwanted dependencies.StringPattern
getStartSet()
Returns the pattern describing the start set.java.lang.String
getStatement()
Returns the statement causing this result.boolean
isOk()
Returnstrue
if and only ifgetPaths()
is empty.java.lang.String
toString()
-
-
-
Constructor Detail
-
DependencyResult
public DependencyResult(StringPattern startSet, StringPattern finalSet, java.lang.String statement, AtomicVertex[] paths)
-
-
Method Detail
-
isOk
public boolean isOk()
Returnstrue
if and only ifgetPaths()
is empty.
-
getStatement
public java.lang.String getStatement()
Returns the statement causing this result.
-
getFinalSet
public StringPattern getFinalSet()
Returns the pattern describing the final set.
-
getPaths
public AtomicVertex[] getPaths()
Returns the vertices of the paths of unwanted dependencies.- Returns:
- an empty array if no unwanted dependencies have been found.
-
getStartSet
public StringPattern getStartSet()
Returns the pattern describing the start set.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-