ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
interface.ilBackgroundTaskHandler.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11{
17 public static function getInstanceFromTask(ilBackgroundTask $a_task);
18
24 public function getTask();
25
32 public function init($a_params);
33
37 public function process();
38
42 public function cancel();
43
47 public function finish();
48
52 public function deleteTaskAndFiles();
53}
An exception for terminatinating execution or to throw for unit testing.
Background task handler interface.
static getInstanceFromTask(ilBackgroundTask $a_task)
Constructor/Factory.
cancel()
Cancel the task.
deleteTaskAndFiles()
Remove task and its files.
finish()
Finish the task.
process()
Process the task.
getTask()
Get current task instance.
init($a_params)
Init background task.