Class DependencyResult

  • All Implemented Interfaces:
    Result

    public class DependencyResult
    extends java.lang.Object
    implements Result
    Result of a dependency check.
    Author:
    Franz-Josef Elmer
    • Method Detail

      • isOk

        public boolean isOk()
        Returns true if and only if getPaths() is empty.
        Specified by:
        isOk in interface Result
      • 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 class java.lang.Object