Package com.aspectran.core.context.expr
Class BooleanExpression
- java.lang.Object
-
- com.aspectran.core.context.expr.BooleanExpression
-
public class BooleanExpression extends java.lang.Object
It supports expressions in the CHOOSE-WHEN statement, and evaluates the expression as a boolean result.Created: 2019-01-06
- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description BooleanExpression(Activity activity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(ChooseWhenRule chooseWhenRule)
static java.lang.Object
parseExpression(java.lang.String expression)
-
-
-
Field Detail
-
activity
protected final Activity activity
-
-
Constructor Detail
-
BooleanExpression
public BooleanExpression(Activity activity)
-
-
Method Detail
-
evaluate
public boolean evaluate(ChooseWhenRule chooseWhenRule) throws IllegalRuleException
- Throws:
IllegalRuleException
-
parseExpression
public static java.lang.Object parseExpression(java.lang.String expression) throws IllegalRuleException
- Throws:
IllegalRuleException
-
-