ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.ilTestQuestionPoolSetupAgent.php
Go to the documentation of this file.
1<?php
2
24
26{
27 public function getUpdateObjective(?ILIAS\Setup\Config $config = null): ILIAS\Setup\Objective
28 {
29 return new ObjectiveCollection(
30 'Database is updated for component/ILIAS/TestQuestionPool',
31 false,
34 ),
37 )
38 );
39 }
40
41 public function getStatusObjective(Metrics\Storage $storage): Objective
42 {
43 return new ObjectiveCollection(
44 'component/ILIAS/TestQuestionPool',
45 true,
47 $storage,
49 ),
51 $storage,
53 )
54 );
55 }
56
57 public function getMigrations(): array
58 {
59 return [
61 ];
62 }
63
64 public function getBuildObjective(): Objective
65 {
66 return new NullObjective();
67 }
68
69}
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.
A non-objective, nothing to do to achieve it...
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.