ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.Agent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Setup;
26 
27 class Agent extends Setup\Agent\NullAgent
28 {
29  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
30  {
31  return new \ilDatabaseUpdateStepsExecutedObjective(new ilNotesDBUpdateSteps());
32  }
33 
34  public function getStatusObjective(Metrics\Storage $storage): Objective
35  {
36  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilNotesDBUpdateSteps());
37  }
38 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: class.Agent.php:21
getStatusObjective(Metrics\Storage $storage)
Definition: class.Agent.php:34
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUpdateObjective(Setup\Config $config=null)
Definition: class.Agent.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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