Package org.camunda.bpm.engine.impl.el
Interface ExpressionManager
- All Known Implementing Classes:
CdiExpressionManager
,JuelExpressionManager
,MockExpressionManager
,SpringExpressionManager
public interface ExpressionManager
Central manager for all expressions.
Process parsers will use this to build expression objects that are stored in the process definitions.
Then also this class is used as an entry point for runtime evaluation of the expressions.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFunction
(String name, Method function) Adds a custom function to the expression manager that can be used in expression evaluation later on.createExpression
(String expression)
-
Method Details
-
createExpression
- Parameters:
expression
-- Returns:
- a parsed expression
-
addFunction
Adds a custom function to the expression manager that can be used in expression evaluation later on. Ideally, use this in the setup phase of the expression manager, i.e. before the first invocation of
createExpression
.- Parameters:
name
-function
-
-