ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilWebResourceSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
23 
27 class ilWebResourceSetupAgent extends Setup\Agent\NullAgent
28 {
29  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
30  {
31  return new Setup\ObjectiveCollection(
32  'WebLinks',
33  false,
36  );
37  }
38 
39  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
40  {
41  return new Setup\ObjectiveCollection(
42  'Component WebResource',
43  true,
46  );
47  }
48 }
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)
getStatusObjective(Setup\Metrics\Storage $storage)
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...