Interface PrimitiveMatcher

All Superinterfaces:
Matchers, RepeatableMatcher, RootNode
All Known Implementing Classes:
ConstantNode, ElementNode, MapEntryNode, ParameterNode, StringNode

public interface PrimitiveMatcher extends RepeatableMatcher
Defines API of a primitive matcher - matcher for single target object
  • Method Details

    • matchTarget

      ImmutableMap matchTarget(Object target, ImmutableMap parameters)
      target - - to be matched element
      parameters - will receive the matching parameter values
      true if `element` matches with pattern of this matcher