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 
20 
21 use ILIAS\Setup;
24 
28 class Agent extends Setup\Agent\NullAgent
29 {
30  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
31  {
32  return new \ilDatabaseUpdateStepsExecutedObjective(new ilMediaCastDBUpdateSteps());
33  }
34 
35  public function getStatusObjective(Metrics\Storage $storage): Objective
36  {
37  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilMediaCastDBUpdateSteps());
38  }
39 }
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
getUpdateObjective(Setup\Config $config=null)
Definition: class.Agent.php:30
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:19
getStatusObjective(Metrics\Storage $storage)
Definition: class.Agent.php:35
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