ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
TaskManager.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\BackgroundTasks;
4 
6 
15 interface TaskManager
16 {
17 
26  public function executeTask(Task $task, Observer $observer);
27 
28 
40  public function run(Bucket $bucket);
41 
42 
51  public function continueTask(Bucket $bucket, Option $option);
52 
53 
59  public function quitBucket(Bucket $bucket);
60 }
executeTask(Task $task, Observer $observer)
Actually executes a task.
Created by PhpStorm.
quitBucket(Bucket $bucket)
Quits and deletes a Bucket with all it&#39;s Jobs.
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.