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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFunction(java.lang.String name, java.lang.reflect.Method function)
Adds a custom function to the expression manager that can be used in expression evaluation later on.Expression
createExpression(java.lang.String expression)
-
-
-
Method Detail
-
createExpression
Expression createExpression(java.lang.String expression)
- Parameters:
expression
-- Returns:
- a parsed expression
-
addFunction
void addFunction(java.lang.String name, java.lang.reflect.Method function)
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
-
-
-