ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilComponentsSetupAgent.php
Go to the documentation of this file.
1 <?php
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
23 
24 class ilComponentsSetupAgent implements Setup\Agent
25 {
27 
31  public function hasConfig(): bool
32  {
33  return false;
34  }
35 
40  {
41  throw new LogicException(self::class . " has no Config.");
42  }
43 
47  public function getInstallObjective(Setup\Config $config = null): Setup\Objective
48  {
50  }
51 
55  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
56  {
57  return new Setup\ObjectiveCollection(
58  "Updates of Services/Components",
59  false,
62  ),
64  );
65  }
66 
70  public function getBuildArtifactObjective(): Setup\Objective
71  {
72  return new Setup\ObjectiveCollection(
73  "Artifacts for Services/Component",
74  false,
77  );
78  }
79 
83  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
84  {
85  return new Setup\Objective\NullObjective();
86  }
87 
91  public function getMigrations(): array
92  {
93  return [];
94  }
95 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getStatusObjective(Setup\Metrics\Storage $storage)
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
getInstallObjective(Setup\Config $config=null)
getUpdateObjective(Setup\Config $config=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26