Interface TaskExecutor

All Known Implementing Classes:
TaskExecutorImpl

public interface TaskExecutor
The TaskExecutor interface defines methods for executing tasks either in parallel or sequentially. Implementations of this interface are responsible for executing a list of JWeaverTask objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(List<JWeaverTask> taskList)
    Executes the specified list of tasks sequentially.
    void
    Executes the specified list of tasks in parallel.
  • Method Details

    • runParallel

      void runParallel(List<JWeaverTask> taskList)
      Executes the specified list of tasks in parallel.
      Parameters:
      taskList - The list of tasks to execute.
    • run

      void run(List<JWeaverTask> taskList)
      Executes the specified list of tasks sequentially.
      Parameters:
      taskList - The list of tasks to execute.