com.ibm.rules.engine.runtime

Interface Engine

    • Method Detail

      • getDefinition

        EngineDefinition getDefinition()
        Returns the EngineDefinition.
        Returns:
        The EngineDefinition.
      • reset

        void reset()
        Resets the state of an Engine. When called on a SteppingRuleEngine that is stepping through code, it also resets its working memory and its agenda.
      • createInput

        EngineInput createInput()
        Creates an EngineInput object for this Engine. Use the object returned to parametrize Engine execution.
        Returns:
        A new engine input instance.
      • createInput

        EngineInput createInput(EngineData data)
        Creates an EngineInput object for this Engine. Use the object returned to parametrize Engine execution.
        Parameters:
        data - The EngineData that will be accessible using the input returned.
        Returns:
        A new engine input instance.
        See Also:
        EngineInput.getData()
      • note

        void note(java.lang.String note)
        Adds a note to this Engine. This note is sent to the NoteObserver objects.
        Parameters:
        note - The note to add.
        See Also:
        NoteObserver
      • getState

        EngineState getState()
        Return the current state of this Engine instance.
        Returns:
        The state of this Engine.

© Copyright IBM Corp. 1987, 2017