Package jadex.bdiv3.features
Interface IExternalBDIAgentFeature
-
- All Superinterfaces:
IExternalComponentFeature
- All Known Subinterfaces:
IBDIAgent
,IBDIAgentFeature
public interface IExternalBDIAgentFeature extends IExternalComponentFeature
External perspective for
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T,E>
IFuture<E>adoptPlan(T plan)
Dispatch a pojo plan and wait for its result.<T,E>
IFuture<E>adoptPlan(T plan, java.lang.Object... args)
Dispatch a goal wait for its result.<T,E>
IFuture<E>dispatchTopLevelGoal(T goal)
Dispatch a pojo goal wait for its result.
-
-
-
Method Detail
-
dispatchTopLevelGoal
<T,E> IFuture<E> dispatchTopLevelGoal(T goal)
Dispatch a pojo goal wait for its result.- Parameters:
goal
- The pojo goal.- Returns:
- The goal result.
-
adoptPlan
<T,E> IFuture<E> adoptPlan(T plan)
Dispatch a pojo plan and wait for its result.- Parameters:
plan
- The pojo plan or plan name.- Returns:
- The plan result, i.e. the return value of the plan body method, if any.
-
adoptPlan
<T,E> IFuture<E> adoptPlan(T plan, java.lang.Object... args)
Dispatch a goal wait for its result.- Parameters:
plan
- The pojo plan or plan name.args
- The plan arguments.- Returns:
- The plan result, i.e. the return value of the plan body method, if any.
-
-