com.irs.jam
Class PlanRuntimeBranchState

java.lang.Object
  |
  +--com.irs.jam.PlanRuntimeState
        |
        +--com.irs.jam.PlanRuntimeBranchState
All Implemented Interfaces:
java.io.Serializable

public class PlanRuntimeBranchState
extends PlanRuntimeState
implements java.io.Serializable

Represents the runtime state of branch constructs

See Also:
Serialized Form

Field Summary
protected  int _activeBranchNum
           
 
Fields inherited from class com.irs.jam.PlanRuntimeState
_substate, _thisConstruct, PLAN_CONSTRUCT_COMPLETE, PLAN_CONSTRUCT_FAILED, PLAN_CONSTRUCT_INCOMP
 
Constructor Summary
PlanRuntimeBranchState(PlanBranchConstruct be)
           
 
Method Summary
 int execute(Binding b, Goal thisGoal, Goal prevGoal)
          Execute something in one of the branches
 int getActiveBranchNum()
           
 void setActiveBranchNum(int n)
           
 
Methods inherited from class com.irs.jam.PlanRuntimeState
getSubstate, getThisConstruct, intend, setSubstate, setThisConstruct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_activeBranchNum

protected int _activeBranchNum
Constructor Detail

PlanRuntimeBranchState

public PlanRuntimeBranchState(PlanBranchConstruct be)
Method Detail

getActiveBranchNum

public int getActiveBranchNum()

execute

public int execute(Binding b,
                   Goal thisGoal,
                   Goal prevGoal)
Execute something in one of the branches
Overrides:
execute in class PlanRuntimeState

setActiveBranchNum

public void setActiveBranchNum(int n)