public interface PlanItemVisitor
<p>GOF Visitor Pattern. Allows to apply arbitrary code on the structure of the CMMN engine run-time model.</p>
<p>Possible implementations include a state dumper which is used to persist the structure state and a state logger which writes the model state to the log.</p>
Modifier and Type | Method and Description |
---|---|
void |
cleanup(PlanItem planItem,
TransitionData transitionData)
Called once after all structure objects have been visited.
|
boolean |
enter(PlanItem planItem,
TransitionData transitionData)
Called for each plan item just before the plan item is visited.
|
void |
exit(PlanItem planItem,
TransitionData transitionData)
Called for each plan item just after the plan item has been visited.
|
void |
init(PlanItem planItem,
TransitionData transitionData)
Called once before any other calls in this interface.
|
void init(PlanItem planItem, TransitionData transitionData)
Called once before any other calls in this interface.
planItem
- the case plan model (the root).boolean enter(PlanItem planItem, TransitionData transitionData)
Called for each plan item just before the plan item is visited.
planItem
- the plan item of interest.transitionData
- optional evaluation context.true
to recurse into a stage’s children.void exit(PlanItem planItem, TransitionData transitionData)
Called for each plan item just after the plan item has been visited.
planItem
- the plan item of interest.void cleanup(PlanItem planItem, TransitionData transitionData)
Called once after all structure objects have been visited.
planItem
- the case plan item (the root).Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.