Package au.com.dius.pact.core.matchers
Class CoreContentMatcherAdapter
-
- All Implemented Interfaces:
-
io.pact.plugins.jvm.core.CoreContentMatcher
public final class CoreContentMatcherAdapter implements CoreContentMatcherAdapts a native ContentMatcher so it can be registered as a host-provided ("core") content matcher capability (pact-plugins proposal 009), letting a plugin delegate whole-content-type matching back to this framework instead of reproducing the logic itself. Registered against CoreCapabilityRegistry by MatchingConfig.registerCoreCapabilities.
There is no field-level equivalent yet: that needs proposal 006's field-level operation shape, which the plugin driver does not implement yet.
-
-
Constructor Summary
Constructors Constructor Description CoreContentMatcherAdapter(ContentMatcher matcher)
-
Method Summary
Modifier and Type Method Description Plugin.CompareContentsResponsecompareContents(Plugin.CompareContentsRequest request)-
-
Constructor Detail
-
CoreContentMatcherAdapter
CoreContentMatcherAdapter(ContentMatcher matcher)
-
-
Method Detail
-
compareContents
Plugin.CompareContentsResponse compareContents(Plugin.CompareContentsRequest request)
-
-
-
-