ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilComponentsSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
20 declare(strict_types=1);
21 
22 use ILIAS\Setup;
24 
25 class ilComponentsSetupAgent implements Setup\Agent
26 {
28 
32  public function hasConfig(): bool
33  {
34  return false;
35  }
36 
41  {
42  throw new LogicException(self::class . " has no Config.");
43  }
44 
48  public function getInstallObjective(Setup\Config $config = null): Setup\Objective
49  {
51  }
52 
56  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
57  {
58  return new Setup\ObjectiveCollection(
59  "Updates of Services/Components",
60  false,
63  ),
65  );
66  }
67 
71  public function getBuildArtifactObjective(): Setup\Objective
72  {
73  return new Setup\ObjectiveCollection(
74  "Artifacts for Services/Component",
75  false,
78  );
79  }
80 
84  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
85  {
87  }
88 
92  public function getMigrations(): array
93  {
94  return [];
95  }
96 }
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)
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