Class VariableMapper
- java.lang.Object
-
- org.camunda.bpm.engine.impl.javax.el.VariableMapper
-
public abstract class VariableMapper extends java.lang.Object
The interface to a map between EL variables and the EL expressions they are associated with.
-
-
Constructor Summary
Constructors Constructor Description VariableMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ValueExpression
resolveVariable(java.lang.String variable)
Resolves the specified variable name to a ValueExpression.abstract ValueExpression
setVariable(java.lang.String variable, ValueExpression expression)
Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable.
-
-
-
Method Detail
-
resolveVariable
public abstract ValueExpression resolveVariable(java.lang.String variable)
Resolves the specified variable name to a ValueExpression.- Parameters:
variable
- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
-
setVariable
public abstract ValueExpression setVariable(java.lang.String variable, ValueExpression expression)
Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable. The assignment for the variable is removed if the expression is null.- Parameters:
variable
- The variable nameexpression
- The ValueExpression to be assigned to the variable.- Returns:
- The previous ValueExpression assigned to this variable, null if there is no previous assignment to this variable.
-
-