Package org.camunda.bpm.engine.impl.el
Class UelExpressionCondition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.el.UelExpressionCondition
-
-
Field Summary
Fields Modifier and Type Field Description protected Expressionexpression
-
Constructor Summary
Constructors Constructor Description UelExpressionCondition(Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(DelegateExecution execution)Evaluates the condition and returns the result.booleanevaluate(VariableScope scope, DelegateExecution execution)Evaluates the condition and returns the result.booleantryEvaluate(VariableScope scope, DelegateExecution execution)Tries to evaluate the condition.
-
-
-
Field Detail
-
expression
protected Expression expression
-
-
Constructor Detail
-
UelExpressionCondition
public UelExpressionCondition(Expression expression)
-
-
Method Detail
-
evaluate
public boolean evaluate(DelegateExecution execution)
Description copied from interface:ConditionEvaluates the condition and returns the result. The scope will be the same as the execution.
-
evaluate
public boolean evaluate(VariableScope scope, DelegateExecution execution)
Description copied from interface:ConditionEvaluates the condition and returns the result.
-
tryEvaluate
public boolean tryEvaluate(VariableScope scope, DelegateExecution execution)
Description copied from interface:ConditionTries to evaluate the condition. If the property which is used in the condition does not exist false will be returned.- Specified by:
tryEvaluatein interfaceCondition- Parameters:
scope- the variable scope which can differ of the executionexecution- the execution which is used to evaluate the condition- Returns:
- the result
-
-