Class ConditionEvaluator

    • Constructor Detail

      • ConditionEvaluator

        ConditionEvaluator()
    • Method Detail

      • evaluate

         <A, B> RulesResult evaluate(A lhs, String operation, B rhs)

        Runs operation on the operands.

        This method always returns a valid non null RulesResult object. SUCCESS is returned if the operation on the operands evaluates to true.

        Parameters:
        lhs - A resolved Operand
        operation - A String representing the operation to be performed on the operands
        rhs - A resolved Operand