Class ScenarioContextImpl
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,Object>
-
- com.chutneytesting.engine.domain.execution.engine.scenario.ScenarioContextImpl
-
- All Implemented Interfaces:
ScenarioContext,Serializable,Cloneable,Map<String,Object>
public class ScenarioContextImpl extends LinkedHashMap<String,Object> implements ScenarioContext
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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>
-
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface com.chutneytesting.engine.domain.execution.engine.scenario.ScenarioContext
ScenarioContext.UnmodifiableScenarioContext
-
-
Constructor Summary
Constructors Constructor Description ScenarioContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetOrDefault(String key, T defaultValue)-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface com.chutneytesting.engine.domain.execution.engine.scenario.ScenarioContext
unmodifiable
-
-
-
-
Method Detail
-
getOrDefault
public <T> T getOrDefault(String key, T defaultValue)
- Specified by:
getOrDefaultin interfaceScenarioContext
-
-