ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilIndividualAssessmentSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 use ILIAS\Setup;
22 use ILIAS\Refinery;
23 
25 {
27 
31  public function hasConfig(): bool
32  {
33  return false;
34  }
35 
40  {
41  throw new \LogicException("Agent has no config.");
42  }
43 
47  public function getInstallObjective(?Setup\Config $config = null): Setup\Objective
48  {
49  return new Setup\Objective\NullObjective();
50  }
51 
55  public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
56  {
59  );
60  }
61 
65  public function getBuildObjective(): Setup\Objective
66  {
67  return new Setup\Objective\NullObjective();
68  }
69 
73  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
74  {
76  }
77 
81  public function getMigrations(): array
82  {
83  return [];
84  }
85 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.if Config does not match the Agent...
A agent is some component that performs part of the setup process.
Definition: Agent.php:29
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Storage is simple key/value store without further schema definition.
Definition: Storage.php:29
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 transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26
hasConfig()
Does this agent require a configuration?
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.if Agent has no Config ...