Class Workflow

All Implemented Interfaces:
ICompositeJob, IJob, Iterable<IJob>, Collection<IJob>, List<IJob>
Direct Known Subclasses:
BlackboardBasedWorkflow

public class Workflow extends SequentialJob implements ICompositeJob
Implementation of a workflow. A workflow is a special composite job which executes all other jobs while displaying the progress in a progress bar to the user. Additionally, the Workflow has an internal WorkflowExceptionHandler that handles exception based on the environment (UI available or not). The given Progress Monitor will receive updates before and after a job is executed.
  • Field Details

  • Constructor Details

    • Workflow

      public Workflow(IJob job)
      Instantiates a new workflow.
      Parameters:
      job - the job
    • Workflow

      public Workflow(IJob job, WorkflowExceptionHandler exceptionHandler)
      Instantiates a new workflow.
      Parameters:
      job - the job
      exceptionHandler - the exception handler
    • Workflow

      public Workflow(IJob job, IProgressMonitor monitor, WorkflowExceptionHandler workflowExceptionHandler)
      Instantiates a new workflow.
      Parameters:
      job - the job
      monitor - the progress monitor to use
      workflowExceptionHandler - the workflow exception handler
  • Method Details

    • run

      public void run()
      Run.