Class ExactlyLike
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.matchers.base.AnyMatcher
-
- io.contract_testing.contractcase.definitions.matchers.base.CascadingContextMatcher
-
- io.contract_testing.contractcase.definitions.matchers.modifiers.ExactlyLike
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.846Z") @Stability(Stable) public class ExactlyLike extends CascadingContextMatcher
Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (egAnyStringorShapedLike).Use this to switch out of
shapedLikeand back to the default exact matching.
-
-
Constructor Summary
Constructors Modifier Constructor Description ExactlyLike(Object content)Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (egAnyStringorShapedLike).protectedExactlyLike(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedExactlyLike(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecttoJSON()For non-TypeScript implementations (seeAnyMatcher.toJSON).-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
ExactlyLike
protected ExactlyLike(software.amazon.jsii.JsiiObjectRef objRef)
-
ExactlyLike
protected ExactlyLike(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ExactlyLike
@Stability(Stable) public ExactlyLike(@NotNull Object content)Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (egAnyStringorShapedLike).Use this to switch out of
shapedLikeand back to the default exact matching.- Parameters:
content-- The object, array, primitive or matcher to match exactly.
-
-
Method Detail
-
toJSON
@Stability(Stable) @NotNull public Object toJSON()
For non-TypeScript implementations (seeAnyMatcher.toJSON).- Overrides:
toJSONin classCascadingContextMatcher- Returns:
- An object in the matcher format described {@link https://case.contract-testing.io/docs/reference/plugin-framework in the Extending ContractCase documentation}
-
-