org.camunda.bpm.engine.impl.el
Class UelExpressionCondition
java.lang.Object
org.camunda.bpm.engine.impl.el.UelExpressionCondition
- All Implemented Interfaces:
- Condition
public class UelExpressionCondition
- extends Object
- implements Condition
Condition
that resolves an UEL expression at runtime.
- Author:
- Joram Barrez, Frederik Heremans
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expression
protected Expression expression
UelExpressionCondition
public UelExpressionCondition(Expression expression)
evaluate
public boolean evaluate(DelegateExecution execution)
- Description copied from interface:
Condition
- Evaluates the condition and returns the result.
The scope will be the same as the execution.
- Specified by:
evaluate
in interface Condition
- Parameters:
execution
- the execution which is used to evaluate the condition
- Returns:
- the result
evaluate
public boolean evaluate(VariableScope scope,
DelegateExecution execution)
- Description copied from interface:
Condition
- Evaluates the condition and returns the result.
- Specified by:
evaluate
in interface Condition
- Parameters:
scope
- the variable scope which can differ of the executionexecution
- the execution which is used to evaluate the condition
- Returns:
- the result
tryEvaluate
public boolean tryEvaluate(VariableScope scope,
DelegateExecution execution)
- 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 interface Condition
- Parameters:
scope
- the variable scope which can differ of the executionexecution
- the execution which is used to evaluate the condition
- Returns:
- the result
Copyright © 2017 camunda services GmbH. All rights reserved.