ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\BackgroundTasks\Task Interface Reference
+ Inheritance diagram for ILIAS\BackgroundTasks\Task:
+ Collaboration diagram for ILIAS\BackgroundTasks\Task:

Public Member Functions

 getType ()
 
 getInputTypes ()
 
 getOutputType ()
 
 getOutput ()
 
 setInput (array $values)
 
 getInput ()
 
 unfoldTask ()
 
 getRemoveOption ()
 
 getAbortOption ()
 

Detailed Description

Definition at line 35 of file Task.php.

Member Function Documentation

◆ getAbortOption()

ILIAS\BackgroundTasks\Task::getAbortOption ( )
Returns
Option In case a Job is failed or did not respond for some time, an Abort-Option is displayed. There is already a Standard-Abort-Option registered, you can override with your own and do some cleanup if possible.

Implemented in ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask.

◆ getInput()

◆ getInputTypes()

◆ getOutput()

ILIAS\BackgroundTasks\Task::getOutput ( )

◆ getOutputType()

◆ getRemoveOption()

ILIAS\BackgroundTasks\Task::getRemoveOption ( )
Returns
Option An Option to remove the current task and do some cleanup if possible. This Option is displayed if the Bucket is completed. You do not have to provide an additional Option to remove in your UserInteraction, the remove-Option is added to the list of Options (last position)
See also
self::getAbortOption();

Implemented in ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask, ilDownloadZipInteraction, ilSumOfFileSizesTooLargeInteraction, ilCalendarDownloadZipInteraction, ILIAS\MediaCast\BackgroundTasks\DownloadAllZipInteraction, ilExDownloadSubmissionsZipInteraction, ilSumOfWorkspaceFileSizesTooLargeInteraction, and ilMailDeliveryJobUserInteraction.

◆ getType()

ILIAS\BackgroundTasks\Task::getType ( )

◆ setInput()

ILIAS\BackgroundTasks\Task::setInput ( array  $values)

◆ unfoldTask()

ILIAS\BackgroundTasks\Task::unfoldTask ( )
Returns
Task[] A list of tasks that is chained with this task. The first element will be this tasks, the following his dependencies.

Implemented in ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask.

Referenced by ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket\setTask().

+ Here is the caller graph for this function:

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