Class ChangeLogLevel
- 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.convenience.ChangeLogLevel
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.842Z") @Stability(Stable) public class ChangeLogLevel extends CascadingContextMatcher
Alters the ContractCase log level below this matcher. Useful for debugging.This has no effect on matching.
Note that this log level matcher will be saved into the contract, so it will also affect the log level during verification. Usually you will want to remove the use of this matcher before saving the contract.
-
-
Constructor Summary
Constructors Modifier Constructor Description ChangeLogLevel(String logLevel, Object child)Alters the ContractCase log level below this matcher.protectedChangeLogLevel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedChangeLogLevel(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
-
ChangeLogLevel
protected ChangeLogLevel(software.amazon.jsii.JsiiObjectRef objRef)
-
ChangeLogLevel
protected ChangeLogLevel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ChangeLogLevel
@Stability(Stable) public ChangeLogLevel(@NotNull String logLevel, @NotNull Object child)Alters the ContractCase log level below this matcher. Useful for debugging.This has no effect on matching.
Note that this log level matcher will be saved into the contract, so it will also affect the log level during verification. Usually you will want to remove the use of this matcher before saving the contract.
- Parameters:
logLevel-- The new LogLevel.
child-- The next matcher in the tree.
-
-
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}
-
-