8 Runs multiple tasks as one unit, one after the other. Execution of the chain
9 will stop if any of the component tasks terminates with an error.
11 class ChainedTask: public Task
14 std::vector<Task *> tasks;
16 Status final_status = RUNNING;
19 ChainedTask(Task *t) { add_task(t); }
22 void add_task(Task *);
24 std::string get_command() const override;
25 void start() override;
26 Status check() override;
27 Status wait() override;