Class JsonFileMappingsSource
java.lang.Object
com.github.tomakehurst.wiremock.standalone.JsonFileMappingsSource
- All Implemented Interfaces:
MappingsSaver,MappingsLoader,MappingsSource
-
Constructor Summary
ConstructorsConstructorDescriptionJsonFileMappingsSource(FileSource mappingsFileSource, FilenameMaker filenameMaker) JsonFileMappingsSource(FileSource mappingsFileSource, FileSource messageMappingsFileSource, FilenameMaker filenameMaker) -
Method Summary
Modifier and TypeMethodDescriptionvoidloadMappingsInto(StubMappings stubMappings) voidloadMessageMappingsInto(MessageStubMappings messageStubMappings) voidvoidvoidsave(StubMapping stubMapping) voidsave(List<StubMapping> stubMappings) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.tomakehurst.wiremock.core.MappingsSaver
remove, setAll
-
Constructor Details
-
JsonFileMappingsSource
-
JsonFileMappingsSource
public JsonFileMappingsSource(FileSource mappingsFileSource, FileSource messageMappingsFileSource, FilenameMaker filenameMaker)
-
-
Method Details
-
save
- Specified by:
savein interfaceMappingsSaver
-
save
- Specified by:
savein interfaceMappingsSaver
-
remove
- Specified by:
removein interfaceMappingsSaver
-
removeAll
public void removeAll()- Specified by:
removeAllin interfaceMappingsSaver
-
loadMappingsInto
- Specified by:
loadMappingsIntoin interfaceMappingsLoader
-
loadMessageMappingsInto
- Specified by:
loadMessageMappingsIntoin interfaceMappingsLoader
-