ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
TaskManager.php
Go to the documentation of this file.
1<?php
2
4
7
16interface 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}
An exception for terminatinating execution or to throw for unit testing.
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.
Created by PhpStorm.