ILIAS  release_7 Revision v7.30-3-g800a261c036
TaskManager.php
Go to the documentation of this file.
1<?php
2
4
6
15interface 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}
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.