ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilRepositorySetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
23 
24 class ilRepositorySetupAgent extends Setup\Agent\NullAgent
25 {
27 
28  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
29  {
30  return new \ilDatabaseUpdateStepsExecutedObjective(new ilRepository9DBUpdateSteps());
31  }
32 
33  public function getStatusObjective(Metrics\Storage $storage): Setup\Objective
34  {
35  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilRepository9DBUpdateSteps());
36  }
37 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getUpdateObjective(?Setup\Config $config=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A configuration for the setup.
Definition: Config.php:26
getStatusObjective(Metrics\Storage $storage)