Interface DisplayMessageRAOAction


  • public interface DisplayMessageRAOAction
    DisplayMessageRAOAction fires a message as a Rule Action.
    • Method Detail

      • fireMessage

        DisplayMessageRAO fireMessage​(AbstractActionedRAO appliedToObject,
                                      RuleEngineResultRAO result,
                                      java.lang.Object ruleContext)
        Fires a message as a Rule Action. The ruleContext object can be used to enhance the returned DisplayMessageRAO.
        Parameters:
        appliedToObject - object to which the message is applied to (Cart, OrderEntry, Product, etc..)
        result - the result rao
        ruleContext - an optional context object that can be used to provide additional information for the returned DisplayMessageRAO