Modifier and Type | Field and Description |
---|---|
protected Expression |
expression |
Constructor and Description |
---|
UelExpressionCondition(Expression expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
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.
|
protected Expression expression
public UelExpressionCondition(Expression expression)
public boolean evaluate(DelegateExecution execution)
Condition
public boolean evaluate(VariableScope scope, DelegateExecution execution)
Condition
public boolean tryEvaluate(VariableScope scope, DelegateExecution execution)
Condition
tryEvaluate
in interface Condition
scope
- the variable scope which can differ of the executionexecution
- the execution which is used to evaluate the conditionCopyright © 2022. All rights reserved.