Class ArrayContains
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.matchers.base.AnyMatcher
-
- io.contract_testing.contractcase.definitions.matchers.arrays.ArrayContains
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.837Z") @Stability(Stable) public class ArrayContains extends AnyMatcher
Matches an Array which contains elements that match the given matchers - note that two different matchers may be satisfied by the same item in the array.
-
-
Constructor Summary
Constructors Modifier Constructor Description ArrayContains(List<Object> matchers)Matches an Array which contains elements that match the given matchers - note that two different matchers may be satisfied by the same item in the array.protectedArrayContains(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedArrayContains(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
-
ArrayContains
protected ArrayContains(software.amazon.jsii.JsiiObjectRef objRef)
-
ArrayContains
protected ArrayContains(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ArrayContains
@Stability(Stable) public ArrayContains(@NotNull List<Object> matchers)Matches an Array which contains elements that match the given matchers - note that two different matchers may be satisfied by the same item in the array.- Parameters:
matchers-- any number of matchers, each of which must be found inside the array.
-
-
Method Detail
-
toJSON
@Stability(Stable) @NotNull public Object toJSON()
For non-TypeScript implementations (seeAnyMatcher.toJSON).- Overrides:
toJSONin classAnyMatcher- Returns:
- An object in the matcher format described {@link https://case.contract-testing.io/docs/reference/plugin-framework in the Extending ContractCase documentation}
-
-