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 TypeMethodDescriptionvoid
run
(List<JWeaverTask> taskList) Executes the specified list of tasks sequentially.void
runParallel
(List<JWeaverTask> taskList) Executes the specified list of tasks in parallel.
-
Method Details
-
runParallel
Executes the specified list of tasks in parallel.- Parameters:
taskList
- The list of tasks to execute.
-
run
Executes the specified list of tasks sequentially.- Parameters:
taskList
- The list of tasks to execute.
-