ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
TaskManager.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\BackgroundTasks
;
4
5
use
ILIAS\BackgroundTasks\Exceptions\NoObserverForUserInteractionException
;
6
use
ILIAS\BackgroundTasks\Task\UserInteraction\Option
;
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
}
ILIAS\BackgroundTasks\TaskManager\executeTask
executeTask(Task $task, Observer $observer)
Actually executes a task.
ILIAS\BackgroundTasks
Created by PhpStorm.
ILIAS\BackgroundTasks\Task\UserInteraction\Option
Definition:
Option.php:13
ILIAS\BackgroundTasks\TaskManager
Definition:
TaskManager.php:16
ILIAS\BackgroundTasks\Bucket
Definition:
Bucket.php:15
ILIAS\BackgroundTasks\Task
Definition:
Task.php:21
ILIAS\BackgroundTasks\TaskManager\quitBucket
quitBucket(Bucket $bucket)
Quits and deletes a Bucket with all it's Jobs.
ILIAS\BackgroundTasks\Observer
Definition:
Observer.php:5
ILIAS\BackgroundTasks\TaskManager\continueTask
continueTask(Bucket $bucket, Option $option)
Continue a task that is the state UserInteraction with a given option.
NoObserverForUserInteractionException
Option
ILIAS\BackgroundTasks\TaskManager\run
run(Bucket $bucket)
Depending on your background task settings, executes or puts the task into the queue.
src
BackgroundTasks
TaskManager.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)