Class RecorderState
- java.lang.Object
-
- com.github.tomakehurst.wiremock.recording.RecorderState
-
public class RecorderState extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RecorderState(RecordingStatus status, StubMapping proxyMapping, RecordSpec spec, java.util.UUID startingServeEventId, java.util.UUID finishingServeEventId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUIDgetFinishingServeEventId()StubMappinggetProxyMapping()RecordSpecgetSpec()java.util.UUIDgetStartingServeEventId()RecordingStatusgetStatus()static RecorderStateinitial()RecorderStatestart(java.util.UUID startingServeEventId, StubMapping proxyMapping, RecordSpec spec)RecorderStatestop(java.util.UUID finishingServeEventId)
-
-
-
Constructor Detail
-
RecorderState
public RecorderState(RecordingStatus status, StubMapping proxyMapping, RecordSpec spec, java.util.UUID startingServeEventId, java.util.UUID finishingServeEventId)
-
-
Method Detail
-
initial
public static RecorderState initial()
-
start
public RecorderState start(java.util.UUID startingServeEventId, StubMapping proxyMapping, RecordSpec spec)
-
stop
public RecorderState stop(java.util.UUID finishingServeEventId)
-
getStatus
public RecordingStatus getStatus()
-
getProxyMapping
public StubMapping getProxyMapping()
-
getSpec
public RecordSpec getSpec()
-
getStartingServeEventId
public java.util.UUID getStartingServeEventId()
-
getFinishingServeEventId
public java.util.UUID getFinishingServeEventId()
-
-