Interface Consequence

  • All Superinterfaces:
    Invoker, RuleComponent

    public interface Consequence
    extends Invoker
    Consequence to be fired upon successful match of a Rule.
    • Method Detail

      • getName

        java.lang.String getName()
      • evaluate

        void evaluate​(KnowledgeHelper knowledgeHelper,
                      ReteEvaluator reteEvaluator)
               throws java.lang.Exception
        Execute the consequence for the supplied matching Tuple.
        Parameters:
        knowledgeHelper -
        reteEvaluator - The working memory session.
        Throws:
        ConsequenceException - If an error occurs while attempting to invoke the consequence.
        java.lang.Exception