Class 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>>
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • goaltype

        protected java.lang.String goaltype
      • parameters

        protected java.util.Map<java.lang.String,​java.lang.Object> parameters
    • 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 interface IComponentStep<java.util.Map<java.lang.String,​java.lang.Object>>
        Returns:
        The result of the command.