Interface IStatelessRuleSession


@Deprecated(since="9.2") public interface IStatelessRuleSession
Deprecated.

This interface represents a stateless rule session. Basically, the session holds the rules (compiled from the rule resources which are added into the rule base) and matches that rules against the input objects.
A stateless session can be called like a function passing it some data and then receiving some results back. The result may be the changed/updated objects or side effects from the rules (e.g. send email).

API:
This is a public API.
  • Method Details

    • execute

      @Deprecated(since="9.2") void execute(Object object)
      Deprecated.
      Execute the rules on the parameter object.
      Parameters:
      object - The input object for the Rule Engine.
      API:
      This public API is available in Java.
    • execute

      @Deprecated(since="9.2") void execute(Iterable<?> objects)
      Deprecated.
      Execute the rules on all elements in this collection of objects.
      Parameters:
      objects - The input objects for the Rule Engine.
      API:
      This public API is available in Java.
    • executeDMN

      @Deprecated(since="9.2") Map<String,Object> executeDMN(Map<String,Object> input)
      Deprecated.
      Execute the DMN rules on all elements in this collection of objects.
      Parameters:
      input - The input objects.
      Returns:
      the decision as output
      API:
      This public API is available in Java.