Class SingleConditionCheck

    • Constructor Detail

      • SingleConditionCheck

        public SingleConditionCheck​(IBaseWorkflowExecutionContext workflowContext)
        Creates a new form value condition check for the new workflow engine.
        Parameters:
        workflowContext - Execution context of the new workflow engine.
    • Method Detail

      • test

        public boolean test​(FcMultipleConditionProps.SingleCondition props)
        Tests the form condition for the given values and operand.
        Parameters:
        props - Operand and values to check.
        Returns:
        Whether the condition is satisfied or not.
      • test

        public boolean test​(String valueToCheck,
                            EMatchCondition operator,
                            String matchOperand)
        Tests the form condition for the given values and operand.
        Parameters:
        valueToCheck - Left hand side, value to check against the matchOperand.
        operator - Operator indicating how the two values are compared against each other.
        matchOperand - Right hand side, value to check against the valueToCheck.
        Returns:
        Whether the condition is satisfied or not.