com.irs.jam
Class PlanRuntimeDoAnyState

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

public class PlanRuntimeDoAnyState
extends PlanRuntimeState
implements java.io.Serializable

Represents the runtime state of DoAny constructs

See Also:
Serialized Form

Field Summary
protected  int _activeBranchNum
           
protected  java.util.Vector _branchesLeft
           
 
Fields inherited from class com.irs.jam.PlanRuntimeState
_substate, _thisConstruct, PLAN_CONSTRUCT_COMPLETE, PLAN_CONSTRUCT_FAILED, PLAN_CONSTRUCT_INCOMP
 
Constructor Summary
PlanRuntimeDoAnyState(PlanDoAnyConstruct 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

_branchesLeft

protected java.util.Vector _branchesLeft
Constructor Detail

PlanRuntimeDoAnyState

public PlanRuntimeDoAnyState(PlanDoAnyConstruct 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)