public class PlanningActionCollector extends Object implements PlannableItemVisitor
A Visitor implementation used to extract the available discretionary item related planning actions from the state model.
| Constructor and Description | 
|---|
PlanningActionCollector(EvaluationListeners evaluationListeners)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanup(PlanItem planItem,
       TransitionData transitionData)
Called once after all structure objects have been visited. 
 | 
void | 
enter(PlannableItem plannableItem,
     TransitionData transitionData)
Called for each plannable item just before the item is visited. 
 | 
void | 
exit(PlannableItem plannableItem,
    TransitionData transitionData)
Called for each plannable item just after the item has been visited. 
 | 
ArrayList<PlanningAction> | 
getActions()  | 
void | 
init(PlanItem planItem,
    TransitionData transitionData)
Called once before any other calls in this interface. 
 | 
public PlanningActionCollector(EvaluationListeners evaluationListeners)
public void init(PlanItem planItem, TransitionData transitionData)
PlannableItemVisitorCalled once before any other calls in this interface.
init in interface PlannableItemVisitorplanItem - the case plan model (the root).transitionData - optional evaluation context.public void enter(PlannableItem plannableItem, TransitionData transitionData)
PlannableItemVisitorCalled for each plannable item just before the item is visited.
enter in interface PlannableItemVisitorplannableItem - the plannable item of interest.transitionData - optional evaluation context.public void exit(PlannableItem plannableItem, TransitionData transitionData)
PlannableItemVisitorCalled for each plannable item just after the item has been visited.
exit in interface PlannableItemVisitorplannableItem - the plan item of interest.transitionData - optional evaluation context.public void cleanup(PlanItem planItem, TransitionData transitionData)
PlannableItemVisitorCalled once after all structure objects have been visited.
cleanup in interface PlannableItemVisitorplanItem - the case plan item (the root).transitionData - optional evaluation context.public ArrayList<PlanningAction> getActions()
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.