ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct (protected Persistence $persistence) | |
run (Bucket $bucket) | |
This will add an Observer of the Task and start running the task. More... | |
![]() | |
__construct (protected Persistence $persistence) | |
continueTask (Bucket $bucket, Option $option) | |
Continue a task with a given option. More... | |
quitBucket (Bucket $bucket) | |
![]() | |
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... | |
Definition at line 39 of file SyncTaskManager.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\SyncTaskManager::__construct | ( | protected Persistence | $persistence | ) |
Definition at line 41 of file SyncTaskManager.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\SyncTaskManager::run | ( | Bucket | $bucket | ) |
This will add an Observer of the Task and start running the task.
Definition at line 49 of file SyncTaskManager.php.
References ILIAS\BackgroundTasks\Task\UserInteraction\canBeSkipped(), ILIAS\BackgroundTasks\TaskManager\executeTask(), ILIAS\BackgroundTasks\Implementation\Bucket\State\FINISHED, ILIAS\BackgroundTasks\Bucket\getTask(), ILIAS\BackgroundTasks\Bucket\setCurrentTask(), and ILIAS\BackgroundTasks\Bucket\setState().