Class ExecuteProcessThread

java.lang.Object
jadex.bpmn.runtime.impl.ExecuteProcessThread
All Implemented Interfaces:
jadex.core.IThrowingConsumer<jadex.core.IComponent>

public class ExecuteProcessThread extends Object implements jadex.core.IThrowingConsumer<jadex.core.IComponent>
Execute the next step of a process thread.
  • Field Details

    • thread

      protected ProcessThread thread
      The process thread.
    • threadid

      protected String threadid
      The thread id. Needed for bpmn debugger.
  • Constructor Details

    • ExecuteProcessThread

      public ExecuteProcessThread(ProcessThread thread)
      Create a new step.
      Parameters:
      thread - The thread.
  • Method Details

    • isValid

      public boolean isValid()
      Test if the action is valid.
      Returns:
      True, if action is valid.
    • accept

      public void accept(jadex.core.IComponent component) throws Exception
      Execute the command.
      Specified by:
      accept in interface jadex.core.IThrowingConsumer<jadex.core.IComponent>
      Parameters:
      args - The argument(s) for the call.
      Throws:
      Exception
    • getThread

      public ProcessThread getThread()
      Get the thread.
      Returns:
      The thread