|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlanbase
The programmers interface for a plan base.
Method Summary | |
---|---|
void |
addPlanListener(String type,
IPlanListener listener,
boolean async)
Add a plan listener. |
void |
deregisterPlan(IMPlan mplan)
Deregister a plan. |
IPlan |
getPlan(String name)
Get a plan by name. |
IPlan[] |
getPlans()
Get all running plans of this planbase. |
IPlan[] |
getPlans(String type)
Get all plans of a specified type (=model element name). |
void |
registerPlan(IMPlan mplan)
Register a new plan. |
void |
removePlanListener(String type,
IPlanListener listener)
Remove a goal listener. |
Methods inherited from interface jadex.runtime.IElement |
---|
getModelElement, getName |
Method Detail |
---|
IPlan[] getPlans()
IPlan[] getPlans(String type)
type
- The plan type.
IPlan getPlan(String name)
name
- The plan name.
void registerPlan(IMPlan mplan)
mplan
- The new plan model.void deregisterPlan(IMPlan mplan)
mplan
- The plan model.void addPlanListener(String type, IPlanListener listener, boolean async)
type
- The goal type.listener
- The plan listener.async
- True, if the notification should be done on a separate thread.void removePlanListener(String type, IPlanListener listener)
type
- The goal type.listener
- The goal listener.
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.