Class DependencyResult

java.lang.Object
classycle.dependency.DependencyResult
All Implemented Interfaces:
Result

public class DependencyResult extends Object implements Result
Result of a dependency check.
Author:
Franz-Josef Elmer
  • Constructor Details

  • Method Details

    • isOk

      public boolean isOk()
      Returns true if and only if getPaths() is empty.
      Specified by:
      isOk in interface Result
    • getStatement

      public 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 String toString()
      Overrides:
      toString in class Object