ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 21 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, ilCalendarDownloadZipInteraction, ilExDownloadSubmissionsZipInteraction, and ilCertificateMigrationInteraction.

◆ getType()

ILIAS\BackgroundTasks\Task::getType ( )
Returns
string

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

Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveTask().

+ Here is the caller graph for this function:

◆ 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: