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 
19 namespace ILIAS\Wiki\Setup;
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  'Wiki Update',
34  true,
37  );
38 
39  }
40 
41  public function getStatusObjective(Metrics\Storage $storage): Objective
42  {
43  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilWikiDBUpdateSteps());
44  }
45 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getUpdateObjective(Setup\Config $config=null)
Definition: class.Agent.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...
Definition: class.Agent.php:19
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...
A configuration for the setup.
Definition: Config.php:26
getStatusObjective(Metrics\Storage $storage)
Definition: class.Agent.php:41