Class FlowSetupWorker

    • Field Detail

      • m_Setup

        protected FlowSetup m_Setup
        the underlying flowsetup.
      • m_FlowRunner

        protected FlowRunner m_FlowRunner
        for executing the flow.
      • m_LastActor

        protected Actor m_LastActor
        the last actor that was run.
    • Constructor Detail

      • FlowSetupWorker

        public FlowSetupWorker​(FlowSetup setup)
        Initializes the worker.
        Parameters:
        setup - the underlying flowsetup
    • Method Detail

      • getSetup

        public FlowSetup getSetup()
        Returns the underlying flow setup.
        Returns:
        the setup
      • getLastActor

        public Actor getLastActor()
        Returns the actor that was executed.
        Returns:
        the actor
      • done

        protected void done()
        After executing the flow.
        Overrides:
        done in class SwingWorker
      • pauseExecution

        public void pauseExecution()
        Pauses the execution.
        Specified by:
        pauseExecution in interface Pausable
      • isPaused

        public boolean isPaused()
        Returns whether the object is currently paused.
        Specified by:
        isPaused in interface Pausable
        Returns:
        true if object is paused
      • resumeExecution

        public void resumeExecution()
        Resumes the execution.
        Specified by:
        resumeExecution in interface Pausable
      • stopExecution

        public void stopExecution()
        Stops the flow execution.
        Specified by:
        stopExecution in interface Stoppable
      • cleanUp

        public void cleanUp()
        Cleans up data structures, frees up memory.
        Specified by:
        cleanUp in interface CleanUpHandler