com.irs.jam
Class PlanRuntimeState

java.lang.Object
  |
  +--com.irs.jam.PlanRuntimeState
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PlanRuntimeAtomicState, PlanRuntimeBranchState, PlanRuntimeDoAllState, PlanRuntimeDoAnyState, PlanRuntimeDoState, PlanRuntimeGoalState, PlanRuntimeParallelState, PlanRuntimeSequenceState, PlanRuntimeSimpleState, PlanRuntimeWaitState, PlanRuntimeWhenState, PlanRuntimeWhileState

public abstract class PlanRuntimeState
extends java.lang.Object
implements java.io.Serializable

Represents the runtime state of plan constructs

See Also:
Serialized Form

Field Summary
protected  PlanRuntimeState _substate
           
protected  PlanConstruct _thisConstruct
           
static int PLAN_CONSTRUCT_COMPLETE
           
static int PLAN_CONSTRUCT_FAILED
           
static int PLAN_CONSTRUCT_INCOMP
           
 
Constructor Summary
PlanRuntimeState()
           
 
Method Summary
abstract  int execute(Binding b, Goal thisGoal, Goal prevGoal)
           
 PlanRuntimeState getSubstate()
           
 PlanConstruct getThisConstruct()
           
 void intend(APLElement s)
           
 void setSubstate(PlanRuntimeState f)
           
 void setThisConstruct(PlanConstruct se)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLAN_CONSTRUCT_FAILED

public static final int PLAN_CONSTRUCT_FAILED

PLAN_CONSTRUCT_INCOMP

public static final int PLAN_CONSTRUCT_INCOMP

PLAN_CONSTRUCT_COMPLETE

public static final int PLAN_CONSTRUCT_COMPLETE

_thisConstruct

protected PlanConstruct _thisConstruct

_substate

protected PlanRuntimeState _substate
Constructor Detail

PlanRuntimeState

public PlanRuntimeState()
Method Detail

getSubstate

public PlanRuntimeState getSubstate()

setSubstate

public void setSubstate(PlanRuntimeState f)

getThisConstruct

public PlanConstruct getThisConstruct()

setThisConstruct

public void setThisConstruct(PlanConstruct se)

intend

public void intend(APLElement s)

execute

public abstract int execute(Binding b,
                            Goal thisGoal,
                            Goal prevGoal)