Interface RuleAction


  • public interface RuleAction
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void insertFacts​(java.lang.Object engineContext, java.lang.Object... facts)
      Inserts the given facts using the given context.
      void insertFacts​(java.lang.Object engineContext, java.util.Collection facts)
      Inserts the facts given in collection using the given context.
      void updateFacts​(java.lang.Object engineContext, java.lang.Object... facts)
      Updates the given facts using the given context.
    • Method Detail

      • insertFacts

        void insertFacts​(java.lang.Object engineContext,
                         java.lang.Object... facts)
        Inserts the given facts using the given context.
        Parameters:
        engineContext - the context
        facts - the facts to insert
      • insertFacts

        void insertFacts​(java.lang.Object engineContext,
                         java.util.Collection facts)
        Inserts the facts given in collection using the given context.
        Parameters:
        engineContext - the context
        facts - the Collection of facts to insert
      • updateFacts

        void updateFacts​(java.lang.Object engineContext,
                         java.lang.Object... facts)
        Updates the given facts using the given context.
        Parameters:
        engineContext - the context
        facts - the facts to update