Class ScenarioContext.UnmodifiableScenarioContext
- java.lang.Object
-
- com.chutneytesting.engine.domain.execution.engine.scenario.ScenarioContext.UnmodifiableScenarioContext
-
- All Implemented Interfaces:
ScenarioContext,Map<String,Object>
- Enclosing interface:
- ScenarioContext
public static class ScenarioContext.UnmodifiableScenarioContext extends Object implements ScenarioContext
-
-
Nested Class Summary
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Objectcompute(String key, BiFunction<? super String,? super Object,?> remappingFunction)ObjectcomputeIfAbsent(String key, Function<? super String,?> mappingFunction)ObjectcomputeIfPresent(String key, BiFunction<? super String,? super Object,?> remappingFunction)booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,Object>>entrySet()booleanequals(Object o)voidforEach(BiConsumer<? super String,? super Object> action)Objectget(Object key)ObjectgetOrDefault(Object key, Object defaultValue)<T> TgetOrDefault(String key, T defaultValue)inthashCode()booleanisEmpty()Set<String>keySet()Objectmerge(String key, Object value, BiFunction<? super Object,? super Object,?> remappingFunction)Objectput(String key, Object value)voidputAll(Map<? extends String,?> m)ObjectputIfAbsent(String key, Object value)Objectremove(Object value)booleanremove(Object key, Object value)Objectreplace(String key, Object value)booleanreplace(String key, Object oldValue, Object newValue)voidreplaceAll(BiFunction<? super String,? super Object,?> function)intsize()StringtoString()Collection<Object>values()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.chutneytesting.engine.domain.execution.engine.scenario.ScenarioContext
unmodifiable
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,Object>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
getOrDefault
public <T> T getOrDefault(String key, T defaultValue)
- Specified by:
getOrDefaultin interfaceScenarioContext
-
getOrDefault
public Object getOrDefault(Object key, Object defaultValue)
- Specified by:
getOrDefaultin interfaceMap<String,Object>
-
forEach
public void forEach(BiConsumer<? super String,? super Object> action)
-
replaceAll
public void replaceAll(BiFunction<? super String,? super Object,?> function)
- Specified by:
replaceAllin interfaceMap<String,Object>
-
putIfAbsent
public Object putIfAbsent(String key, Object value)
- Specified by:
putIfAbsentin interfaceMap<String,Object>
-
computeIfAbsent
public Object computeIfAbsent(String key, Function<? super String,?> mappingFunction)
- Specified by:
computeIfAbsentin interfaceMap<String,Object>
-
computeIfPresent
public Object computeIfPresent(String key, BiFunction<? super String,? super Object,?> remappingFunction)
- Specified by:
computeIfPresentin interfaceMap<String,Object>
-
compute
public Object compute(String key, BiFunction<? super String,? super Object,?> remappingFunction)
-
-