ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 17 of file Job.php.

Member Function Documentation

◆ getExpectedTimeOfTaskInSeconds()

ILIAS\BackgroundTasks\Task\Job::getExpectedTimeOfTaskInSeconds ( )
Returns
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount of data, try to set a possible high value of try to calculate it. If a task duration exceeds this value, it will be displayed as "possibly failed" to the user

Implemented in ilCertificateMigrationJob, ilExerciseManagementCollectFilesJob, ilCalendarCopyFilesToTempDirectoryJob, ILIAS\BackgroundTasks\Implementation\Tasks\SlowPlusJob, ILIAS\BackgroundTasks\Implementation\Tasks\Aggregation\ConcatenationJob, ILIAS\BackgroundTasks\Implementation\Tasks\PlusJob, ilCalendarZipJob, ilSubmissionsZipJob, and ILIAS\File\Sanitation\SanitationReportJob.

◆ getInput()

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

Implements ILIAS\BackgroundTasks\Task.

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

◆ isStateless()

◆ run()


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