Interface ExpressionManager
- All Known Implementing Classes:
CmmnExpressionManager
,DefaultExpressionManager
,ProcessExpressionManager
,VariableScopeExpressionManager
public interface ExpressionManager
Used as an entry point for runtime evaluation of the expressions.
- Author:
- Tijs Rademakers, Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptioncreateExpression
(String expression) Creates anExpression
instance from the given String.Returns theFlowableAstFunctionCreator
which potentially can alter the expression functions during the creation of anExpression
instance.getBeans()
Returns the beans registered with this expression manager instance.getElContext
(VariableContainer variableContainer) Creates anELContext
against whichExpression
instance can be resolved.Returns the custom functions registered and usable in expressions.void
setAstFunctionCreators
(List<FlowableAstFunctionCreator> astFunctionCreators) Sets theFlowableAstFunctionCreator
instances which can alter the expression functions during the creation of anExpression
instance.void
Sets the beans which can be used in expressions.void
setFunctionDelegates
(List<FlowableFunctionDelegate> functionDelegates) Set the custom functions usable in expressions.void
setFunctionResolverFactory
(FlowableFunctionResolverFactory functionResolverFactory)
-
Method Details
-
createExpression
Creates anExpression
instance from the given String. Expression are resolved against aVariableContainer
(e.g. a process Execution, a case instance plan item, etc.) -
getElContext
Creates anELContext
against whichExpression
instance can be resolved. -
getBeans
Returns the beans registered with this expression manager instance. -
setBeans
Sets the beans which can be used in expressions. -
getFunctionDelegates
List<FlowableFunctionDelegate> getFunctionDelegates()Returns the custom functions registered and usable in expressions. -
setFunctionDelegates
Set the custom functions usable in expressions. -
getAstFunctionCreators
List<FlowableAstFunctionCreator> getAstFunctionCreators()Returns theFlowableAstFunctionCreator
which potentially can alter the expression functions during the creation of anExpression
instance. -
setAstFunctionCreators
Sets theFlowableAstFunctionCreator
instances which can alter the expression functions during the creation of anExpression
instance. -
getFunctionResolverFactory
FlowableFunctionResolverFactory getFunctionResolverFactory() -
setFunctionResolverFactory
-