public interface Expression
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String expr)
Evaluate is the method to use when evaluating an expression.
|
void |
removeAllVariables()
Removes all global variables
|
void |
removeVariable(String key)
Removes a previously set variable
|
void |
setVariable(String key,
Object value)
Sets a globally accessible variable for this instance
|
void setVariable(String key, Object value)
key
- the variable namevalue
- the valuevoid removeVariable(String key)
key
- the variable namevoid removeAllVariables()