Class ExecutePlanStepAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected jadex.bdiv3.runtime.impl.RPlan rplan
      The plan.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecutePlanStepAction​(jadex.bdiv3.runtime.impl.RPlan rplan)
      Create a new action.
    • Field Detail

      • rplan

        protected jadex.bdiv3.runtime.impl.RPlan rplan
        The plan.
    • Constructor Detail

      • ExecutePlanStepAction

        public ExecutePlanStepAction​(jadex.bdiv3.runtime.impl.RPlan rplan)
        Create a new action.
    • Method Detail

      • isValid

        public boolean isValid()
        Test if the action is valid.
        Specified by:
        isValid in interface IConditionalComponentStep<java.lang.Void>
        Returns:
        True, if action is valid.
      • execute

        public IFuture<java.lang.Void> execute​(IInternalAccess ia)
        Execute the command.
        Specified by:
        execute in interface IComponentStep<java.lang.Void>
        Parameters:
        args - The argument(s) for the call.
        Returns:
        The result of the command.
      • getRPlan

        public jadex.bdiv3.runtime.impl.RPlan getRPlan()
        Get the rplan.
      • checkContextCondition

        protected IFuture<java.lang.Boolean> checkContextCondition()
        Check the context condition.
        Returns:
        True if context is ok.
      • toString

        public java.lang.String toString()
        Return a string.
        Overrides:
        toString in class java.lang.Object