Package jadex.bdi.runtime.impl
Interface IServiceParameterMapper<T>
public interface IServiceParameterMapper<T>
Used as part of a service plan, i.e. a plan
that has a required service method as body.
Interface that is used for mapping from a goal
to the service parameters and back.
-
Method Summary
Modifier and TypeMethodDescriptionObject[]
createServiceParameters
(T obj, Method m, RPlan plan) Create service parameters.void
handleServiceResult
(T obj, Method m, Object result, RPlan plan) Create service result.
-
Method Details
-
createServiceParameters
Create service parameters.- Parameters:
obj
- The pojo or rgoal.m
- The service method called.plan
- The service call plan (possibly has parameter definitions).- Returns:
- The parameter array for the service call.
-
handleServiceResult
Create service result.- Parameters:
obj
- The goal.m
- The method.result
- The service call result.
-