| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGoalbase
The programmers interface for the goalbase. todo: getTopLevelGoals() ?
| Method Summary | |
|---|---|
|  void | addGoalListener(String type,
                IGoalListener listener,
                boolean async)Add a goal listener. | 
|  boolean | containsGoal(IGoal goal)Test if an adopted goal is already contained in the goal base. | 
|  IGoal | createGoal(String type)Create a goal from a template goal. | 
|  void | deregisterGoal(IMGoal mgoal)Deregister a goal model. | 
|  void | deregisterGoalReference(IMGoalReference mgoalref)Deregister a goal reference model. | 
|  IFilter | dispatchTopLevelGoal(IGoal goal)Dispatch a new top-level goal. | 
|  IGoal | getGoal(String name)Get a (proprietary) adopted goal by name. | 
|  IGoal[] | getGoals()Get all the adopted goals in this scope (including subgoals). | 
|  IGoal[] | getGoals(String type)Get all proprietary goals of a specified type (=model element name). | 
|  void | registerGoal(IMGoal mgoal)Register a new goal model. | 
|  void | registerGoalReference(IMGoalReference mgoalref)Register a new goal reference model. | 
|  void | removeGoalListener(String type,
                   IGoalListener listener)Remove a goal listener. | 
| Methods inherited from interface jadex.runtime.IElement | 
|---|
| getModelElement, getName | 
| Method Detail | 
|---|
IGoal getGoal(String name)
name - The goal name.
boolean containsGoal(IGoal goal)
goal - The goal to test.
IGoal[] getGoals(String type)
type - The goal type.
IGoal[] getGoals()
IGoal createGoal(String type)
type - The template goal name as specified in the ADF.
IFilter dispatchTopLevelGoal(IGoal goal)
goal - The new goal.void registerGoal(IMGoal mgoal)
mgoal - The goal model.void deregisterGoal(IMGoal mgoal)
mgoal - The goal model.void registerGoalReference(IMGoalReference mgoalref)
mgoalref - The goal reference model.void deregisterGoalReference(IMGoalReference mgoalref)
mgoalref - The goal reference model.
void addGoalListener(String type,
                     IGoalListener listener,
                     boolean async)
type - The goal type.listener - The goal listener.async - True, if the notification should be done on a separate thread.
void removeGoalListener(String type,
                        IGoalListener 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.