| 
 | Jadex 0.941 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.runtime.JavaStandardPlanExecutor
A plan executor for plans that run on their own thread and therefore may perform blocking wait operations. Plan bodies have to inherit from @link{Plan}.
| Field Summary | |
| static String | MAX_PLANSTEP_TIME | 
| Constructor Summary | |
| JavaStandardPlanExecutor(jadex.runtime.impl.RBDIAgent agent)Create a new threadbased plan executor. | |
| Method Summary | |
|  Object | createPlanBody(jadex.runtime.impl.RPlan plan)Create the body of a plan. | 
|  jadex.runtime.impl.IREvent | eventWaitFor(jadex.runtime.impl.RPlan rplan,
             jadex.runtime.impl.WaitAbstraction wa)Called from a plan. | 
|  boolean | executePlanStep(jadex.runtime.impl.RPlan plan)Execute a step of a plan. | 
|  Thread | getExecutionThread(jadex.runtime.impl.RPlan rplan)Get the executing thread of a plan. | 
|  void | interruptPlanStep(jadex.runtime.impl.RPlan plan)Interrupt a plan step during execution. | 
|  void | terminatePlan(jadex.runtime.impl.RPlan rplan)Called on termination of a plan. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String MAX_PLANSTEP_TIME
| Constructor Detail | 
public JavaStandardPlanExecutor(jadex.runtime.impl.RBDIAgent agent)
| Method Detail | 
public Object createPlanBody(jadex.runtime.impl.RPlan plan)
                      throws Exception
createPlanBody in interface IPlanExecutorplan - The plan.
Exception
public boolean executePlanStep(jadex.runtime.impl.RPlan plan)
                        throws Exception
executePlanStep in interface IPlanExecutorExceptionpublic void terminatePlan(jadex.runtime.impl.RPlan rplan)
terminatePlan in interface IPlanExecutorpublic void interruptPlanStep(jadex.runtime.impl.RPlan plan)
interruptPlanStep in interface IPlanExecutorpublic Thread getExecutionThread(jadex.runtime.impl.RPlan rplan)
getExecutionThread in interface IPlanExecutorrplan - The plan.
public jadex.runtime.impl.IREvent eventWaitFor(jadex.runtime.impl.RPlan rplan,
                                               jadex.runtime.impl.WaitAbstraction wa)
rplan - The planinstance.wa - The wait abstraction.| 
 | Jadex 0.941 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.