T
- type of stub mappingpublic interface StubPostProcessor<T>
Modifier and Type | Field and Description |
---|---|
static List<StubPostProcessor> |
PROCESSORS
List of registered stub post processors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(org.springframework.cloud.contract.spec.Contract contract) |
default T |
postProcess(T stubMapping,
org.springframework.cloud.contract.spec.Contract contract) |
static final List<StubPostProcessor> PROCESSORS
default T postProcess(T stubMapping, org.springframework.cloud.contract.spec.Contract contract)
stubMapping
- - generated stub mappingcontract
- - contract for which the mapping was generatedboolean isApplicable(org.springframework.cloud.contract.spec.Contract contract)
contract
- - contract for which the mapping was generatedtrue
if this post process should be appliedCopyright © 2016–2022 Spring. All rights reserved.