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>>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
goaltype
protected java.util.Map
parameters
-
Constructor Summary
Constructors Constructor Description DispatchGoalStep(java.lang.String goal)
Dispatches a goal.DispatchGoalStep(java.lang.String goal, java.lang.String parameterName, java.lang.Object parameterValue)
Dispatches a goal.DispatchGoalStep(java.lang.String goal, java.util.Map 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 parameterName, java.lang.Object parameterValue)
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 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.
-
-