Interface Admin
-
- All Known Implementing Classes:
DslWrapper
,HttpAdminClient
,WireMockApp
,WireMockClassRule
,WireMockExtension
,WireMockRule
,WireMockServer
public interface Admin
-
-
Method Summary
-
-
-
Method Detail
-
addStubMapping
void addStubMapping(StubMapping stubMapping)
-
editStubMapping
void editStubMapping(StubMapping stubMapping)
-
removeStubMapping
void removeStubMapping(StubMapping stubbMapping)
-
removeStubMapping
void removeStubMapping(java.util.UUID id)
-
listAllStubMappings
ListStubMappingsResult listAllStubMappings()
-
getStubMapping
SingleStubMappingResult getStubMapping(java.util.UUID id)
-
saveMappings
void saveMappings()
-
resetRequests
void resetRequests()
-
resetScenarios
void resetScenarios()
-
resetMappings
void resetMappings()
-
resetAll
void resetAll()
-
resetToDefaultMappings
void resetToDefaultMappings()
-
getServeEvents
GetServeEventsResult getServeEvents()
-
getServeEvents
GetServeEventsResult getServeEvents(ServeEventQuery query)
-
getServedStub
SingleServedStubResult getServedStub(java.util.UUID id)
-
countRequestsMatching
VerificationResult countRequestsMatching(RequestPattern requestPattern)
-
findRequestsMatching
FindRequestsResult findRequestsMatching(RequestPattern requestPattern)
-
findUnmatchedRequests
FindRequestsResult findUnmatchedRequests()
-
removeServeEvent
void removeServeEvent(java.util.UUID eventId)
-
removeServeEventsMatching
FindServeEventsResult removeServeEventsMatching(RequestPattern requestPattern)
-
removeServeEventsForStubsMatchingMetadata
FindServeEventsResult removeServeEventsForStubsMatchingMetadata(StringValuePattern pattern)
-
findTopNearMissesFor
FindNearMissesResult findTopNearMissesFor(LoggedRequest loggedRequest)
-
findTopNearMissesFor
FindNearMissesResult findTopNearMissesFor(RequestPattern requestPattern)
-
findNearMissesForUnmatchedRequests
FindNearMissesResult findNearMissesForUnmatchedRequests()
-
getAllScenarios
GetScenariosResult getAllScenarios()
-
resetScenario
void resetScenario(java.lang.String name)
-
setScenarioState
void setScenarioState(java.lang.String name, java.lang.String state)
-
updateGlobalSettings
void updateGlobalSettings(GlobalSettings settings)
-
snapshotRecord
SnapshotRecordResult snapshotRecord()
-
snapshotRecord
SnapshotRecordResult snapshotRecord(RecordSpec spec)
-
snapshotRecord
SnapshotRecordResult snapshotRecord(RecordSpecBuilder spec)
-
startRecording
void startRecording(java.lang.String targetBaseUrl)
-
startRecording
void startRecording(RecordSpec spec)
-
startRecording
void startRecording(RecordSpecBuilder recordSpec)
-
stopRecording
SnapshotRecordResult stopRecording()
-
getRecordingStatus
RecordingStatusResult getRecordingStatus()
-
getOptions
Options getOptions()
-
shutdownServer
void shutdownServer()
-
findAllStubsByMetadata
ListStubMappingsResult findAllStubsByMetadata(StringValuePattern pattern)
-
removeStubsByMetadata
void removeStubsByMetadata(StringValuePattern pattern)
-
importStubs
void importStubs(StubImport stubImport)
-
getGlobalSettings
GetGlobalSettingsResult getGlobalSettings()
-
-