ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilTestQuestionPoolSetupAgent.php
Go to the documentation of this file.
1<?php
2
23
25{
26 public function getUpdateObjective(?ILIAS\Setup\Config $config = null): ILIAS\Setup\Objective
27 {
28 return new ObjectiveCollection(
29 'Database is updated for component/ILIAS/TestQuestionPool',
30 false,
33 ),
36 )
37 );
38 }
39
40 public function getStatusObjective(Metrics\Storage $storage): Objective
41 {
42 return new ObjectiveCollection(
43 'component/ILIAS/TestQuestionPool',
44 true,
46 $storage,
48 ),
50 $storage,
52 )
53 );
54 }
55
56 public function getMigrations(): array
57 {
58 return [
60 ];
61 }
62
63}
An agent that just doesn't do a thing.
Definition: NullAgent.php:35
A objective collection is a objective that is achieved once all subobjectives are achieved.
This class attempt to achieve a set of database update steps.
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
getUpdateObjective(?ILIAS\Setup\Config $config=null)
@inheritdocs
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.