Add a separate task list (Pipeline?) class
Detailed description
The Task interface has static methods addTask()
, getTask()
, and getAllTasks()
. Move them to a separate class, let's say TaskPipeline
.
Motivation
Static methods are a pain in testing.