public class PlanItemStateLogger extends Object implements PlanItemVisitor
<p>A visitor implementation</p>.
<p>Outputs a plan item’s state as a table row. Creates a tabular view of a case plan model’s internal state when applied to
all plan items of the model. The class implements PlanItemVisitor
to be able to
be applied to a complete CasePlanModel
.</p>
Constructor and Description |
---|
PlanItemStateLogger() |
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.
|
public void init(PlanItem planItem, TransitionData transitionData)
PlanItemVisitor
Called once before any other calls in this interface.
init
in interface PlanItemVisitor
planItem
- the case plan model (the root).public boolean enter(PlanItem planItem, TransitionData transitionData)
PlanItemVisitor
Called for each plan item just before the plan item is visited.
enter
in interface PlanItemVisitor
planItem
- the plan item of interest.transitionData
- optional evaluation context.true
to recurse into a stage’s children.public void exit(PlanItem planItem, TransitionData transitionData)
PlanItemVisitor
Called for each plan item just after the plan item has been visited.
exit
in interface PlanItemVisitor
planItem
- the plan item of interest.public void cleanup(PlanItem planItem, TransitionData transitionData)
PlanItemVisitor
Called once after all structure objects have been visited.
cleanup
in interface PlanItemVisitor
planItem
- the case plan item (the root).Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.