public class ExpressionContextImpl extends Object implements ExpressionContext
| Constructor and Description |
|---|
ExpressionContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String variable)
Returns the value of the given variable.
|
Map<String,Object> |
getAll()
Returns all variables and their values as a map.
|
void |
put(String variable,
Object value)
Sets the variable to the given value
|
void |
putAll(Map<String,Object> variables)
Sets one or more variables at once.
|
public void put(String variable, Object value)
put in interface ExpressionContextvariable - the variablevalue - the value of the variablepublic void putAll(Map<String,Object> variables)
variables - map with variables and their valuespublic Object get(String variable)
get in interface ExpressionContextvariable - the variablepublic Map<String,Object> getAll()
getAll in interface ExpressionContextCopyright © 2017 SAP SE. All Rights Reserved.