Package org.camunda.bpm.engine.impl
Interface Condition
- All Known Implementing Classes:
ScriptCondition
,UelExpressionCondition
public interface Condition
- Author:
- Tom Baeyens, Christopher Zell <christopher.zell@camunda.com>
-
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.
-
Method Details
-
evaluate
Evaluates the condition and returns the result. The scope will be the same as the execution.- Parameters:
execution
- the execution which is used to evaluate the condition- Returns:
- the result
-
evaluate
Evaluates the condition and returns the result.- Parameters:
scope
- the variable scope which can differ of the executionexecution
- the execution which is used to evaluate the condition- Returns:
- the result
-
tryEvaluate
Tries to evaluate the condition. If the property which is used in the condition does not exist false will be returned.- Parameters:
scope
- the variable scope which can differ of the executionexecution
- the execution which is used to evaluate the condition- Returns:
- the result
-