ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ILIAS\BackgroundTasks\TaskManager Interface Reference
+ Inheritance diagram for ILIAS\BackgroundTasks\TaskManager:
+ Collaboration diagram for ILIAS\BackgroundTasks\TaskManager:

Public Member Functions

 executeTask (Task $task, Observer $observer)
 Actually executes a task. More...
 
 run (Bucket $bucket)
 Depending on your background task settings, executes or puts the task into the queue. More...
 
 continueTask (Bucket $bucket, Option $option)
 Continue a task that is the state UserInteraction with a given option. More...
 
 quitBucket (Bucket $bucket)
 Quits and deletes a Bucket with all it's Jobs. More...
 

Detailed Description

Definition at line 16 of file TaskManager.php.

Member Function Documentation

◆ continueTask()

ILIAS\BackgroundTasks\TaskManager::continueTask ( Bucket  $bucket,
Option  $option 
)

Continue a task that is the state UserInteraction with a given option.

Parameters
Bucket$bucket
Option$option
Returns
mixed

Implemented in ILIAS\BackgroundTasks\Implementation\TaskManager\BasicTaskManager.

◆ executeTask()

ILIAS\BackgroundTasks\TaskManager::executeTask ( Task  $task,
Observer  $observer 
)

◆ quitBucket()

ILIAS\BackgroundTasks\TaskManager::quitBucket ( Bucket  $bucket)

Quits and deletes a Bucket with all it's Jobs.

Parameters
\ILIAS\BackgroundTasks\Bucket$bucket

Implemented in ILIAS\BackgroundTasks\Implementation\TaskManager\BasicTaskManager.

◆ run()

ILIAS\BackgroundTasks\TaskManager::run ( Bucket  $bucket)

Depending on your background task settings, executes or puts the task into the queue.

Parameters
Bucket$bucket
Returns
mixed

Implemented in ILIAS\BackgroundTasks\Implementation\TaskManager\BasicTaskManager, and ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager.


The documentation for this interface was generated from the following file: