com.azalient.api.b.control
Interface IExpression


public interface IExpression

An expression used to evaluate the "tests" in signal rules.

See Also:
ISignalRule

Method Summary
 BigDecimal eval()
          Evaluate the expression which does not reference any variables.
 BigDecimal eval(Map<String,BigDecimal> variables)
          Evaluate the expression with the given set of values.
 

Method Detail

eval

BigDecimal eval(Map<String,BigDecimal> variables)
Evaluate the expression with the given set of values.

Parameters:
variables - the values to use in the expression.
Returns:
the result of the evaluation

eval

BigDecimal eval()
Evaluate the expression which does not reference any variables.

Returns:
the result of the evaluation