ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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 Setup\ObjectiveCollection(
33  'COPage Update',
34  true,
37  );
38 
39  }
40 
41  public function getStatusObjective(Metrics\Storage $storage): Objective
42  {
43  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilCOPageDBUpdateSteps());
44  }
45 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
getUpdateObjective(?Setup\Config $config=null)
Definition: class.Agent.php:30
getStatusObjective(Metrics\Storage $storage)
Definition: class.Agent.php:41
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