public class HashMapContext extends java.util.HashMap<java.lang.String,java.lang.Object> implements JexlContext
Constructor and Description |
---|
HashMapContext() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getVars()
Retrives the Map of variables associated with this JexlContext.
|
void |
setVars(java.util.Map<java.lang.String,java.lang.Object> vars)
Replaces variables in a JexlContext with the variables contained
in the supplied Map.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public HashMapContext()
public void setVars(java.util.Map<java.lang.String,java.lang.Object> vars)
setVars
in interface JexlContext
vars
- Contents of vars will be replaced with the content
of this Mappublic java.util.Map<java.lang.String,java.lang.Object> getVars()
getVars
in interface JexlContext