Class StubMappingTransformer
java.lang.Object
com.github.tomakehurst.wiremock.extension.StubMappingTransformer
- All Implemented Interfaces:
Extension
Base class for stub mapping transformer extensions. This allows transforming stub mappings
recorded via the snapshot and recording API endpoints.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantransform(StubMapping stubMapping, FileSource files, Parameters parameters) transform(StubMapping stubMapping, FileSource files, Parameters parameters, ServeEvent serveEvent)
-
Constructor Details
-
StubMappingTransformer
public StubMappingTransformer()
-
-
Method Details
-
transform
-
transform
public StubGenerationResult transform(StubMapping stubMapping, FileSource files, Parameters parameters, ServeEvent serveEvent) - Parameters:
serveEvent- The original recorded serve event used to generate the stub mapping.
-
applyGlobally
public boolean applyGlobally()
-