Class RPlan.ResumeCommand<T>

java.lang.Object
jadex.bdi.runtime.impl.RPlan.ResumeCommand<T>
All Implemented Interfaces:
jadex.common.ICommand<RPlan.ResumeCommandArgs>
Enclosing class:
RPlan

public class RPlan.ResumeCommand<T> extends Object implements jadex.common.ICommand<RPlan.ResumeCommandArgs>
  • Field Details

    • sus

      protected jadex.future.ISuspendable sus
    • waitfuture

      protected jadex.future.Future<T> waitfuture
    • rulename

      protected String rulename
    • timer

      protected RPlan.RescomTimer<T> timer
    • isvoid

      protected boolean isvoid
  • Constructor Details

    • ResumeCommand

      public ResumeCommand(jadex.future.Future<T> waitfuture, boolean isvoid)
    • ResumeCommand

      public ResumeCommand(jadex.future.Future<T> waitfuture, String rulename, boolean isvoid)
    • ResumeCommand

      public ResumeCommand(jadex.future.Future<T> waitfuture, jadex.future.ISuspendable sus, boolean isvoid)
  • Method Details

    • setTimer

      public void setTimer(RPlan.RescomTimer<T> timer)
    • execute

      public void execute(RPlan.ResumeCommandArgs args)
      first Boolean: notify (default true) second Boolean: abort (default false)
      Specified by:
      execute in interface jadex.common.ICommand<T>
    • getWaitfuture

      public jadex.future.Future<T> getWaitfuture()
      Get the waitfuture.
      Returns:
      The waitfuture