ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 ilCOPageDBUpdateSteps());
33  }
34 
35  public function getStatusObjective(Metrics\Storage $storage): Objective
36  {
37  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilCOPageDBUpdateSteps());
38  }
39 }
getUpdateObjective(?Setup\Config $config=null)
Definition: class.Agent.php:30
getStatusObjective(Metrics\Storage $storage)
Definition: class.Agent.php:35
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
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...
Definition: class.Agent.php:19
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