Interface RuleAction


public interface RuleAction
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    insertFacts(Object engineContext, Object... facts)
    Inserts the given facts using the given context.
    void
    insertFacts(Object engineContext, Collection facts)
    Inserts the facts given in collection using the given context.
    void
    updateFacts(Object engineContext, Object... facts)
    Updates the given facts using the given context.
  • Method Details

    • insertFacts

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

      void insertFacts(Object engineContext, 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(Object engineContext, Object... facts)
      Updates the given facts using the given context.
      Parameters:
      engineContext - the context
      facts - the facts to update