com.irs.jam
Class PlanWaitConstruct

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

public class PlanWaitConstruct
extends PlanConstruct
implements java.io.Serializable

A built-in JAM construct for conditionally delayed execution.

See Also:
Serialized Form

Field Summary
protected  Action _action
           
protected  Relation _rel
           
 
Fields inherited from class com.irs.jam.PlanConstruct
_constructType, PLAN_ATOMIC, PLAN_BRANCH, PLAN_DO, PLAN_DOALL, PLAN_DOANY, PLAN_PARALLEL, PLAN_SEQUENCE, PLAN_SIMPLE, PLAN_UNDEFINED, PLAN_WAIT, PLAN_WHEN, PLAN_WHILE
 
Constructor Summary
PlanWaitConstruct(Action a)
          Wait on successful completion of an action
PlanWaitConstruct(Relation r)
          Wait for a goal relation to be achieved
 
Method Summary
 Action getAction()
           
 Relation getRelation()
           
 PlanRuntimeState newRuntimeState()
          Construct an appropriate RuntimeState
 
Methods inherited from class com.irs.jam.PlanConstruct
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_action

protected Action _action

_rel

protected Relation _rel
Constructor Detail

PlanWaitConstruct

public PlanWaitConstruct(Action a)
Wait on successful completion of an action

PlanWaitConstruct

public PlanWaitConstruct(Relation r)
Wait for a goal relation to be achieved
Method Detail

getAction

public Action getAction()

getRelation

public Relation getRelation()

newRuntimeState

public PlanRuntimeState newRuntimeState()
Construct an appropriate RuntimeState
Overrides:
newRuntimeState in class PlanConstruct