Class StringPathMatcher

java.lang.Object
uk.org.webcompere.modelassert.json.condition.tree.StringPathMatcher
All Implemented Interfaces:
PathMatcher

public class StringPathMatcher extends Object implements PathMatcher
  • Constructor Details

    • StringPathMatcher

      public StringPathMatcher(String value)
  • Method Details

    • matches

      public boolean matches(Location location, List<PathMatcher> remaining)
      Description copied from interface: PathMatcher
      Does this path matcher prevent a match, or do any of its successors prevent a match
      Specified by:
      matches in interface PathMatcher
      Parameters:
      location - the location
      remaining - the remaining PathMatchers
      Returns:
      true if there's a match
    • toString

      public String toString()
      Overrides:
      toString in class Object