Interface ActionSupplementStrategy

    • Method Detail

      • isActionProperToHandle

        boolean isActionProperToHandle​(AbstractRuleActionRAO actionRao,
                                       RuleActionContext context)
        Checks if the action result is proper to be processed by the strategy
        Parameters:
        actionRao - - action result
        context - - instance of RuleActionContext
      • shouldPerformAction

        boolean shouldPerformAction​(AbstractRuleActionRAO actionRao,
                                    RuleActionContext context)
        Gives additional input into whether an action should be performed or not
        Parameters:
        actionRao - - action result
        context - - instance of RuleActionContext
        Returns:
        true if action should be performed, false - otherwise