Package ru.cg.webbpm.modules.expression
Class Expression
java.lang.Object
ru.cg.webbpm.modules.expression.Expression
- Author:
- m.popov
-
Constructor Summary
ConstructorsConstructorDescriptionExpression
(String expression) Creates a new expression instance from an expression string}. -
Method Summary
-
Constructor Details
-
Expression
Creates a new expression instance from an expression string}.- Parameters:
expression
- -- the expression.
-
-
Method Details
-
with
Sets a variable with certain value.- Parameters:
name
- -- the name of variable to set.value
- -- the value of variable.- Returns:
- The expression, allows to chain methods.
-
evaluate
Evaluates the expression.- Returns:
- The result of the expression.
-