ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
TaskManager.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\BackgroundTasks;
4 
7 
16 interface TaskManager
17 {
18 
27  public function executeTask(Task $task, Observer $observer);
28 
29 
41  public function run(Bucket $bucket);
42 
43 
52  public function continueTask(Bucket $bucket, Option $option);
53 
54 
60  public function quitBucket(Bucket $bucket);
61 }
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.