|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleflowObserver
Use a RuleflowObserver
instance to observe events specific
to a RuleflowEngine
instance.
To observe the overall state of an Engine
, see
EngineObserver
.
Method Summary | |
---|---|
void |
ruleFlowEnded(Observable engine,
Task task,
RuleflowEngineOutput output)
Called when a flow is about to finish executing. |
void |
ruleFlowStarted(Observable engine,
Task task,
RuleflowEngineInput input)
Called when a flow 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. |
Method Detail |
---|
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
.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |