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

Public Member Functions

 run (array $input, Observer $observer)
 
 isStateless ()
 
 getInput ()
 
 getExpectedTimeOfTaskInSeconds ()
 
- Public Member Functions inherited from ILIAS\BackgroundTasks\Task
 getType ()
 
 getInputTypes ()
 
 getOutputType ()
 
 getOutput ()
 
 setInput (array $values)
 
 unfoldTask ()
 
 getRemoveOption ()
 
 getAbortOption ()
 

Detailed Description

Definition at line 31 of file Job.php.

Member Function Documentation

◆ getExpectedTimeOfTaskInSeconds()

ILIAS\BackgroundTasks\Task\Job::getExpectedTimeOfTaskInSeconds ( )

◆ getInput()

ILIAS\BackgroundTasks\Task\Job::getInput ( )
Returns
array returns the input array

Implements ILIAS\BackgroundTasks\Task.

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

◆ isStateless()

◆ run()

ILIAS\BackgroundTasks\Task\Job::run ( array  $input,
Observer  $observer 
)
Parameters
Value[]$input This will be a list of Values hinted by getInputTypes.
Observer$observerNotify the bucket about your progress!
Returns
Value The returned Value must be of the type hinted by getOutputType.

Implemented in ilExerciseManagementCollectFilesJob, ilCollectFilesJob, ilCheckSumOfFileSizesJob, ilCalendarCopyFilesToTempDirectoryJob, ilZipJob, ilCopyFilesToTempDirectoryJob, ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob, ilCalendarZipJob, ilSubmissionsZipJob, ilCopyWorkspaceFilesToTempDirectoryJob, ilMassMailDeliveryJob, and ilMailDeliveryJob.

Referenced by ILIAS\BackgroundTasks\Implementation\Tasks\PlusJob\getOutputType().

+ Here is the caller graph for this function:

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