Class Recorder
- java.lang.Object
-
- com.github.tomakehurst.wiremock.recording.Recorder
-
public class Recorder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Recorder(Admin admin, Extensions extensions, BlobStore filesBlobStore, RecorderStateStore stateStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RecordingStatusgetStatus()SnapshotStubMappingPostProcessorgetStubMappingPostProcessor(RecordSpec recordSpec)Deprecated, for removal: This API element is subject to removal in a future version.This method will become non-public in the next major version.java.util.List<StubMapping>serveEventsToStubMappings(java.util.List<ServeEvent> serveEventsResult, ProxiedServeEventFilters serveEventFilters, SnapshotStubMappingGenerator stubMappingGenerator, SnapshotStubMappingPostProcessor stubMappingPostProcessor)Deprecated, for removal: This API element is subject to removal in a future version.This method will become non-public in the next major version.voidstartRecording(RecordSpec spec)SnapshotRecordResultstopRecording()SnapshotRecordResulttakeSnapshot(java.util.List<ServeEvent> serveEvents, RecordSpec recordSpec)
-
-
-
Constructor Detail
-
Recorder
public Recorder(Admin admin, Extensions extensions, BlobStore filesBlobStore, RecorderStateStore stateStore)
-
-
Method Detail
-
startRecording
public void startRecording(RecordSpec spec)
-
stopRecording
public SnapshotRecordResult stopRecording()
-
takeSnapshot
public SnapshotRecordResult takeSnapshot(java.util.List<ServeEvent> serveEvents, RecordSpec recordSpec)
-
serveEventsToStubMappings
@Deprecated(forRemoval=true) public java.util.List<StubMapping> serveEventsToStubMappings(java.util.List<ServeEvent> serveEventsResult, ProxiedServeEventFilters serveEventFilters, SnapshotStubMappingGenerator stubMappingGenerator, SnapshotStubMappingPostProcessor stubMappingPostProcessor)
Deprecated, for removal: This API element is subject to removal in a future version.This method will become non-public in the next major version. If you rely on it, please contact the maintainers.
-
getStubMappingPostProcessor
@Deprecated(forRemoval=true) public SnapshotStubMappingPostProcessor getStubMappingPostProcessor(RecordSpec recordSpec)
Deprecated, for removal: This API element is subject to removal in a future version.This method will become non-public in the next major version. If you rely on it, please contact the maintainers.
-
getStatus
public RecordingStatus getStatus()
-
-