Package jadex.bdi.planlib.iasteps
Class DispatchGoalStep
- java.lang.Object
-
- jadex.bdi.planlib.iasteps.DispatchGoalStep
-
- All Implemented Interfaces:
IComponentStep<java.util.Map<java.lang.String,java.lang.Object>>
public class DispatchGoalStep extends java.lang.Object implements IComponentStep<java.util.Map<java.lang.String,java.lang.Object>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.bridge.IComponentStep
IComponentStep.MyInit
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
goaltype
protected java.util.Map<java.lang.String,java.lang.Object>
parameters
-
Fields inherited from interface jadex.bridge.IComponentStep
__myinit, CURRENT_STEP
-
-
Constructor Summary
Constructors Constructor Description DispatchGoalStep(java.lang.String goal)
Dispatches a goal.DispatchGoalStep(java.lang.String goal, java.lang.String name, java.lang.Object value)
Dispatches a goal.DispatchGoalStep(java.lang.String goal, java.util.Map<java.lang.String,java.lang.Object> parameters)
Dispatches a goal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.util.Map<java.lang.String,java.lang.Object>>
execute(IInternalAccess ia)
Execute the command.
-
-
-
Constructor Detail
-
DispatchGoalStep
public DispatchGoalStep(java.lang.String goal)
Dispatches a goal.- Parameters:
goal
- The goal.
-
DispatchGoalStep
public DispatchGoalStep(java.lang.String goal, java.lang.String name, java.lang.Object value)
Dispatches a goal.- Parameters:
goal
- The goal.parameterName
- Name of a goal parameter.parameterValue
- Value of the goal parameter.
-
DispatchGoalStep
public DispatchGoalStep(java.lang.String goal, java.util.Map<java.lang.String,java.lang.Object> parameters)
Dispatches a goal.- Parameters:
goal
- The goal.parameters
- The goal parameters.
-
-
Method Detail
-
execute
public IFuture<java.util.Map<java.lang.String,java.lang.Object>> execute(IInternalAccess ia)
Description copied from interface:IComponentStep
Execute the command.- Specified by:
execute
in interfaceIComponentStep<java.util.Map<java.lang.String,java.lang.Object>>
- Returns:
- The result of the command.
-
-