Package org.camunda.bpm.engine.impl.el
Class UelExpressionCondition
java.lang.Object
org.camunda.bpm.engine.impl.el.UelExpressionCondition
- All Implemented Interfaces:
Condition
Condition
that resolves an UEL expression at runtime.- Author:
- Joram Barrez, Frederik Heremans
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
evaluate
(DelegateExecution execution) Evaluates the condition and returns the result.boolean
evaluate
(VariableScope scope, DelegateExecution execution) Evaluates the condition and returns the result.boolean
tryEvaluate
(VariableScope scope, DelegateExecution execution) Tries to evaluate the condition.
-
Field Details
-
expression
-
-
Constructor Details
-
UelExpressionCondition
-
-
Method Details
-
evaluate
Description copied from interface:Condition
Evaluates the condition and returns the result. The scope will be the same as the execution. -
evaluate
Description copied from interface:Condition
Evaluates the condition and returns the result. -
tryEvaluate
Description copied from interface:Condition
Tries to evaluate the condition. If the property which is used in the condition does not exist false will be returned.- Specified by:
tryEvaluate
in interfaceCondition
- Parameters:
scope
- the variable scope which can differ of the executionexecution
- the execution which is used to evaluate the condition- Returns:
- the result
-