Jadex 0.96-beta1

jadex.runtime
Interface IPlan

All Superinterfaces:
IElement, IParameterElement

public interface IPlan
extends IParameterElement

A currently instantiated plan of the agent (=intention).


Method Summary
 void addPlanListener(IPlanListener listener, boolean async)
          Add a goal listener.
 Object createBody()
          Create the body.
 Object getBody()
          Get the body.
 IWaitqueue getWaitqueue()
          Get the waitqueue.
 void removePlanListener(IPlanListener listener)
          Remove a goal listener.
 
Methods inherited from interface jadex.runtime.IParameterElement
getParameter, getParameters, getParameterSet, getParameterSets, hasParameter, hasParameterSet
 
Methods inherited from interface jadex.runtime.IElement
getModelElement, getName
 

Method Detail

getWaitqueue

IWaitqueue getWaitqueue()
Get the waitqueue.

Returns:
The waitqueue.

getBody

Object getBody()
Get the body.

Returns:
The body.

createBody

Object createBody()
                  throws Exception
Create the body.

Throws:
Exception

addPlanListener

void addPlanListener(IPlanListener listener,
                     boolean async)
Add a goal listener.

Parameters:
listener - The goal listener.
async - True, if the notification should be done on a separate thread.

removePlanListener

void removePlanListener(IPlanListener listener)
Remove a goal listener.

Parameters:
listener - The goal listener.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.