Package com.ibm.rules.engine.runtime

Contains the main Engine runtime interfaces.

See: Description

  • Interface Summary 
    Interface Description
    DataObserver
    Use DataObserver to observe the changes in the data used by a Engine instance.
    Engine
    Use this Engine interface to parametrize and run an Engine instance.
    EngineData
    An EngineData stores the values used as the parameters of an engine.
    EngineDefinition
    Use EngineDefinition to create Engine instances.
    EngineInput
    Use EngineInput to parameterize Engine execution.
    EngineObserver
    Use an EngineObserver instance to observe the overall state of an Engine.
    EngineOutput
    An EngineOutput object is produced when an Engine is executed.
    EngineRuntimeVersion  
    EngineSignature
    EngineSignature represents the signature of an Engine.
    EngineSignature.Parameter
    Parameter represents a parameter in an EngineSignature instance.
    EngineWithWorkingMemory
    EngineWithWorkingMemory represents a rule engine instance.
    EngineWithWorkingMemoryInput
    The rule engine input is used to parameterize a rule engine execution.
    EngineWithWorkingMemoryOutput
    The rule engine output is produced when a rule engine is executed.
    NoteObserver
    NoteObserver represents an Observer for notes.
    RunningEngine
    Use RunningEngine inside a running engine, such as rules, tasks, or B2X.
    RunningEngineWithWorkingMemory
    Use the RunningEngineWithWorkingMemory interface only inside a RunningEngine.
  • Class Summary 
    Class Description
    EngineVersion
    Use EngineVersion to identify the version of IBM Decision Engine that you are using.
  • Enum Summary 
    Enum Description
    EngineState
    The EngineState enumeration describes the current state of an Engine instance.
    InoutModifier
    InoutModifier represents the signature parameter modifier.

Package com.ibm.rules.engine.runtime Description

Contains the main Engine runtime interfaces.

Overview

The EngineDefinition instance describes the rules or tasks, the Engine object executes the rules.

The following figure gives an overview of the API:

Decision Engine creation API

Engine definition

An engine definition is similar to a Classic Rule Engine ruleset. Using an engine definition you:

  • access rules or tasks
  • create an executable engine

An engine definition can be loaded using an EngineLoader. The engine definition may be parametrized by providing an external B2X, a classloader and other optional parameters.

Engine

In IBM Decision Server, an engine is an Engine instance. This class, and its subclasses, contain all the methods required to control the engine. An Engine object is always attached to an EngineDefinition instance. Note that there is no inverse relationship, so only your reference to an Engine instance will keep it in memory.

Rule Designer API

© Copyright IBM Corp. 1987, 2017