public class PlanItemActionCollector extends Object implements PlanItemVisitor
A Visitor implementation used to extract the the available user actions from the state model.
| Constructor and Description | 
|---|
PlanItemActionCollector(EvaluationListeners evaluationListeners)  | 
| 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. 
 | 
ArrayList<PlanItemAction> | 
getActions()  | 
void | 
init(PlanItem planItem,
    TransitionData transitionData)
Called once before any other calls in this interface. 
 | 
public PlanItemActionCollector(EvaluationListeners evaluationListeners)
public void init(PlanItem planItem, TransitionData transitionData)
PlanItemVisitorCalled once before any other calls in this interface.
init in interface PlanItemVisitorplanItem - the case plan model (the root).public boolean enter(PlanItem planItem, TransitionData transitionData)
PlanItemVisitorCalled for each plan item just before the plan item is visited.
enter in interface PlanItemVisitorplanItem - the plan item of interest.transitionData - optional evaluation context.true to recurse into a stage’s children.public void exit(PlanItem planItem, TransitionData transitionData)
PlanItemVisitorCalled for each plan item just after the plan item has been visited.
exit in interface PlanItemVisitorplanItem - the plan item of interest.public void cleanup(PlanItem planItem, TransitionData transitionData)
PlanItemVisitorCalled once after all structure objects have been visited.
cleanup in interface PlanItemVisitorplanItem - the case plan item (the root).public ArrayList<PlanItemAction> getActions()
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.