ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.Agent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Blog\Setup;
22 
23 use ILIAS\Setup;
26 
30 class Agent extends Setup\Agent\NullAgent
31 {
32  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
33  {
34  return new \ilDatabaseUpdateStepsExecutedObjective(new BlogDBUpdateSteps());
35  }
36 
37  public function getStatusObjective(Metrics\Storage $storage): Objective
38  {
39  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new BlogDBUpdateSteps());
40  }
41 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
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:32
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...
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:37
A configuration for the setup.
Definition: Config.php:26