public class DispatchGoalStep extends java.lang.Object implements IComponentStep<java.util.Map<java.lang.String,java.lang.Object>>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
goaltype |
protected java.util.Map |
parameters |
Constructor and Description |
---|
DispatchGoalStep(java.lang.String goal)
Dispatches a goal.
|
DispatchGoalStep(java.lang.String goal,
java.util.Map parameters)
Dispatches a goal.
|
DispatchGoalStep(java.lang.String goal,
java.lang.String parameterName,
java.lang.Object parameterValue)
Dispatches a goal.
|
Modifier and Type | Method and Description |
---|---|
IFuture<java.util.Map<java.lang.String,java.lang.Object>> |
execute(IInternalAccess ia)
Execute the command.
|
protected java.lang.String goaltype
protected java.util.Map parameters
public DispatchGoalStep(java.lang.String goal)
goal
- The goal.public DispatchGoalStep(java.lang.String goal, java.lang.String parameterName, java.lang.Object parameterValue)
goal
- The goal.parameterName
- Name of a goal parameter.parameterValue
- Value of the goal parameter.public DispatchGoalStep(java.lang.String goal, java.util.Map parameters)
goal
- The goal.parameters
- The goal parameters.public IFuture<java.util.Map<java.lang.String,java.lang.Object>> execute(IInternalAccess ia)
IComponentStep
execute
in interface IComponentStep<java.util.Map<java.lang.String,java.lang.Object>>