com.ibm.rules.engine.ruleflow.runtime

Interface RuleflowObserver

  • All Superinterfaces:
    Observer


    public interface RuleflowObserver
    extends Observer
    Use a RuleflowObserver instance to observe events specific to a RuleflowEngine instance. To observe the overall state of an Engine, see EngineObserver.
    • Method Detail

      • taskStarted

        void taskStarted(Observable engine,
                       Task task,
                       EngineInput input)
        Called when a Task is about to start execution.
        Parameters:
        engine - The event source.
        task - The Task that will start.
        input - The EngineInput object used by this RuleflowEngine.
      • taskEnded

        void taskEnded(Observable engine,
                     Task task,
                     EngineOutput output)
        Called when a Task has finished executing.
        Parameters:
        engine - The event source.
        task - The Task that has finished.
        output - The EngineOutput object produced by the code>RuleflowEngine.
      • ruleFlowStarted

        void ruleFlowStarted(Observable engine,
                           Task task,
                           RuleflowEngineInput input)
        Called when main task is about to be executed. There are not, strictly speaking, any differences between a flow and a task so this method is called when the considered task is the main task
        Parameters:
        engine - The event source.
        task - The Task that models the flow.
        input - The RuleflowEngineInput object used by the Engine.
      • ruleFlowEnded

        void ruleFlowEnded(Observable engine,
                         Task task,
                         RuleflowEngineOutput output)
        Called when the main task is about to finish executing. There are not, strictly speaking, any differences between a flow and a task so this method is called when the considered task is the main task
        Parameters:
        engine - The event source.
        task - The Task that models the flow.
        output - The RuleflowEngineOutput produced by the Engine.

© Copyright IBM Corp. 1987, 2017