public interface ExpressionManager
| Modifier and Type | Method and Description |
|---|---|
Expression |
createExpression(String expression)
Creates an
Expression instance from the given String. |
Map<Object,Object> |
getBeans()
Returns the beans registered with this expression manager instance.
|
ELContext |
getElContext(VariableContainer variableContainer)
Creates an
ELContext against which Expression instance can be resolved. |
List<FlowableExpressionEnhancer> |
getExpressionEnhancers()
Returns the
FlowableExpressionEnhancer which potentially can alter the expression text
before being transformed into an Expression instance. |
List<FlowableFunctionDelegate> |
getFunctionDelegates()
Returns the custom functions registered and usable in expressions.
|
void |
setBeans(Map<Object,Object> beans)
Sets the beans which can be used in expressions.
|
void |
setExpressionEnhancers(List<FlowableExpressionEnhancer> expressionEnhancers)
Sets the
FlowableExpressionEnhancer instances which can enhance expression texts
before being tranformed into an Expression instance. |
void |
setFunctionDelegates(List<FlowableFunctionDelegate> functionDelegates)
Set the custom functions usable in expressions.
|
Expression createExpression(String expression)
Expression instance from the given String.
Expression are resolved against a VariableContainer (e.g. a process Execution, a case instance plan item, etc.)ELContext getElContext(VariableContainer variableContainer)
ELContext against which Expression instance can be resolved.Map<Object,Object> getBeans()
List<FlowableFunctionDelegate> getFunctionDelegates()
void setFunctionDelegates(List<FlowableFunctionDelegate> functionDelegates)
List<FlowableExpressionEnhancer> getExpressionEnhancers()
FlowableExpressionEnhancer which potentially can alter the expression text
before being transformed into an Expression instance.void setExpressionEnhancers(List<FlowableExpressionEnhancer> expressionEnhancers)
FlowableExpressionEnhancer instances which can enhance expression texts
before being tranformed into an Expression instance.Copyright © 2019 Flowable. All rights reserved.