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:
java.io.Serializable
,java.util.concurrent.ConcurrentMap
,java.util.Map
,SessionMap
public class TestSessionVariables<K,V> extends java.util.concurrent.ConcurrentHashMap implements SessionMap
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,V extends java.lang.Object>
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.Object>
-
Constructor Summary
Constructors Constructor Description TestSessionVariables()
-
Method Summary
Modifier and Type Method Description void
addMetaData(java.lang.String key, java.lang.String value)
void
clear()
void
clearMetaData()
java.util.Map<java.lang.String,java.lang.String>
getMetaData()
java.lang.Object
put(java.lang.Object key, java.lang.Object value)
void
shouldContainKey(java.lang.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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, values
-
Constructor Details
-
TestSessionVariables
public TestSessionVariables()
-
-
Method Details
-
shouldContainKey
public void shouldContainKey(java.lang.Object key)- Specified by:
shouldContainKey
in interfaceSessionMap<K,V>
-
put
public java.lang.Object put(java.lang.Object key, java.lang.Object value) -
getMetaData
public java.util.Map<java.lang.String,java.lang.String> getMetaData()- Specified by:
getMetaData
in interfaceSessionMap<K,V>
-
addMetaData
public void addMetaData(java.lang.String key, java.lang.String value)- Specified by:
addMetaData
in interfaceSessionMap<K,V>
-
clearMetaData
public void clearMetaData()- Specified by:
clearMetaData
in interfaceSessionMap<K,V>
-
clear
public void clear()
-