Package classycle.dependency
Class DependencyResult
java.lang.Object
classycle.dependency.DependencyResult
- All Implemented Interfaces:
Result
Result of a dependency check.
- Author:
- Franz-Josef Elmer
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyResult
(StringPattern startSet, StringPattern finalSet, String statement, AtomicVertex[] paths) -
Method Summary
Modifier and TypeMethodDescriptionReturns the pattern describing the final set.getPaths()
Returns the vertices of the paths of unwanted dependencies.Returns the pattern describing the start set.Returns the statement causing this result.boolean
isOk()
Returnstrue
if and only ifgetPaths()
is empty.toString()
-
Constructor Details
-
DependencyResult
public DependencyResult(StringPattern startSet, StringPattern finalSet, String statement, AtomicVertex[] paths)
-
-
Method Details
-
isOk
public boolean isOk()Returnstrue
if and only ifgetPaths()
is empty. -
getStatement
Returns the statement causing this result. -
getFinalSet
Returns the pattern describing the final set. -
getPaths
Returns the vertices of the paths of unwanted dependencies.- Returns:
- an empty array if no unwanted dependencies have been found.
-
getStartSet
Returns the pattern describing the start set. -
toString
-