Class InMemoryScenariosStore
- java.lang.Object
-
- com.github.tomakehurst.wiremock.store.InMemoryScenariosStore
-
- All Implemented Interfaces:
ScenariosStore
,Store<java.lang.String,Scenario>
public class InMemoryScenariosStore extends java.lang.Object implements ScenariosStore
-
-
Constructor Summary
Constructors Constructor Description InMemoryScenariosStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
java.util.Optional<Scenario>
get(java.lang.String key)
java.util.stream.Stream<Scenario>
getAll()
java.util.stream.Stream<java.lang.String>
getAllKeys()
void
put(java.lang.String key, Scenario content)
void
remove(java.lang.String key)
-
-
-
Method Detail
-
getAllKeys
public java.util.stream.Stream<java.lang.String> getAllKeys()
- Specified by:
getAllKeys
in interfaceStore<java.lang.String,Scenario>
-
getAll
public java.util.stream.Stream<Scenario> getAll()
- Specified by:
getAll
in interfaceScenariosStore
-
get
public java.util.Optional<Scenario> get(java.lang.String key)
-
put
public void put(java.lang.String key, Scenario content)
-
remove
public void remove(java.lang.String key)
-
-