Package net.serenitybdd.core.sessions
Class TestSessionVariables<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap
-
- net.serenitybdd.core.sessions.TestSessionVariables<K,V>
-
- All Implemented Interfaces:
Serializable
,ConcurrentMap
,Map
,SessionMap
public class TestSessionVariables<K,V> extends ConcurrentHashMap implements SessionMap
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description TestSessionVariables()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMetaData(String key, String value)
void
clear()
void
clearMetaData()
Map<String,String>
getMetaData()
Object
put(Object key, Object value)
void
shouldContainKey(Object key)
-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
-
Methods inherited from class java.util.AbstractMap
clone
-
-
-
-
Method Detail
-
shouldContainKey
public void shouldContainKey(Object key)
- Specified by:
shouldContainKey
in interfaceSessionMap<K,V>
-
getMetaData
public Map<String,String> getMetaData()
- Specified by:
getMetaData
in interfaceSessionMap<K,V>
-
addMetaData
public void addMetaData(String key, String value)
- Specified by:
addMetaData
in interfaceSessionMap<K,V>
-
clearMetaData
public void clearMetaData()
- Specified by:
clearMetaData
in interfaceSessionMap<K,V>
-
-