Package jadex.bdi.runtime.impl
Class MethodPlanBody
java.lang.Object
jadex.bdi.runtime.impl.AbstractPlanBody
jadex.bdi.runtime.impl.MethodPlanBody
- All Implemented Interfaces:
IPlanBody
Implementation of a method as a plan body.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectThe agent/capability object.protected MethodThe method.Fields inherited from class jadex.bdi.runtime.impl.AbstractPlanBody
partfuture, rplan -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]Get the aborted parameters.Class<?>[]Get the body parameter types.Class<?>[]Get the failed parameters.Class<?>[]Get the passed parameters.invokeAborted(Object[] params) Invoke the plan aborted method.invokeBody(Object[] params) Invoke the body.invokeFailed(Object[] params) Invoke the plan failed method.invokePassed(Object[] params) Invoke the plan passed method.Methods inherited from class jadex.bdi.runtime.impl.AbstractPlanBody
executePlan, getAgent, getBody, getRPlan, guessParameters, internalInvokePart
-
Field Details
-
body
The method. -
agent
The agent/capability object.
-
-
Constructor Details
-
MethodPlanBody
Create a new plan body.
-
-
Method Details
-
invokeBody
Invoke the body.- Specified by:
invokeBodyin classAbstractPlanBody
-
invokePassed
Description copied from class:AbstractPlanBodyInvoke the plan passed method.- Specified by:
invokePassedin classAbstractPlanBody
-
invokeFailed
Description copied from class:AbstractPlanBodyInvoke the plan failed method.- Specified by:
invokeFailedin classAbstractPlanBody
-
invokeAborted
Description copied from class:AbstractPlanBodyInvoke the plan aborted method.- Specified by:
invokeAbortedin classAbstractPlanBody
-
getBodyParameterTypes
Get the body parameter types.- Specified by:
getBodyParameterTypesin classAbstractPlanBody
-
getPassedParameterTypes
Description copied from class:AbstractPlanBodyGet the passed parameters.- Specified by:
getPassedParameterTypesin classAbstractPlanBody
-
getFailedParameterTypes
Description copied from class:AbstractPlanBodyGet the failed parameters.- Specified by:
getFailedParameterTypesin classAbstractPlanBody
-
getAbortedParameterTypes
Description copied from class:AbstractPlanBodyGet the aborted parameters.- Specified by:
getAbortedParameterTypesin classAbstractPlanBody
-