Package au.com.dius.pact.core.matchers
Class PluginContentMatcher
-
- All Implemented Interfaces:
-
au.com.dius.pact.core.matchers.ContentMatcher
public final class PluginContentMatcher implements ContentMatcher
Content matcher that delegates to a plugin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPluginContentMatcher.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ContentMatchercontentMatcherprivate final ContentTypecontentTypepublic final static PluginContentMatcher.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description PluginContentMatcher(ContentMatcher contentMatcher, ContentType contentType)
-
Method Summary
Modifier and Type Method Description final ContentMatchergetContentMatcher()final ContentTypegetContentType()BodyMatchResultmatchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)Result<List<InteractionContents>, String>setupBodyFromConfig(Map<String, Object> bodyConfig)-
-
Method Detail
-
getContentMatcher
final ContentMatcher getContentMatcher()
-
getContentType
final ContentType getContentType()
-
matchBody
BodyMatchResult matchBody(OptionalBody expected, OptionalBody actual, MatchingContext context)
-
-
-
-