ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TaskManager.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\BackgroundTasks;
20
22
28interface TaskManager
29{
34 public function executeTask(Task $task, Observer $observer);
35
41 public function run(Bucket $bucket): void;
42
46 public function continueTask(Bucket $bucket, Option $option): void;
47
51 public function quitBucket(Bucket $bucket): void;
52}
executeTask(Task $task, Observer $observer)
Actually executes a task.
continueTask(Bucket $bucket, Option $option)
Continue a task that is the state UserInteraction with a given option.
run(Bucket $bucket)
Depending on your background task settings, executes or puts the task into the queue.
quitBucket(Bucket $bucket)
Quits and deletes a Bucket with all it's Jobs.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...