public interface RuleflowObserver extends Observer
RuleflowObserver instance to observe events specific
to a RuleflowEngine instance.
To observe the overall state of an Engine, see
EngineObserver.| Modifier and Type | Method and Description |
|---|---|
void |
ruleFlowEnded(Observable engine,
Task task,
RuleflowEngineOutput output)
Called when the main task is about to finish executing.
|
void |
ruleFlowStarted(Observable engine,
Task task,
RuleflowEngineInput input)
Called when main task is about to be executed.
|
void |
taskEnded(Observable engine,
Task task,
EngineOutput output)
Called when a
Task has finished executing. |
void |
taskStarted(Observable engine,
Task task,
EngineInput input)
Called when a
Task is about to start execution. |
void taskStarted(Observable engine, Task task, EngineInput input)
Task is about to start execution.engine - The event source.task - The Task that will start.input - The EngineInput object used by this RuleflowEngine.void taskEnded(Observable engine, Task task, EngineOutput output)
Task has finished executing.engine - The event source.task - The Task that has finished.output - The EngineOutput object produced by the code>RuleflowEngine.void ruleFlowStarted(Observable engine, Task task, RuleflowEngineInput input)
engine - The event source.task - The Task that models the flow.input - The RuleflowEngineInput object used by the Engine.void ruleFlowEnded(Observable engine, Task task, RuleflowEngineOutput output)
engine - The event source.task - The Task that models the flow.output - The RuleflowEngineOutput produced by the Engine.© Copyright IBM Corp. 1987, 2017