ILIAS  trunk Revision v12.0_alpha-1221-g4e438232683
class.Agent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\Setup;
26
28{
29 public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
30 {
32 'Help Update',
33 true,
36 );
37 }
38
39 public function getStatusObjective(Metrics\Storage $storage): Objective
40 {
41 return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilHelpDBUpdateSteps());
42 }
43
45 {
46 return new \ilHelpBuildScreenIdMapObjective();
47 }
48}
getUpdateObjective(?Setup\Config $config=null)
Definition: class.Agent.php:29
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
Definition: class.Agent.php:39
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.
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: class.Agent.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...