ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilTestSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 use ILIAS\Setup;
32 
34 {
36 
37  public function getUpdateObjective(ILIAS\Setup\Config $config = null): Objective
38  {
40  }
41 
42  public function getStatusObjective(Metrics\Storage $storage): Objective
43  {
44  return new Setup\ObjectiveCollection(
45  "Metrics from the Test & Assessment",
46  false,
49  );
50  }
51 
52  public function hasConfig(): bool
53  {
54  return false;
55  }
56 
58  {
59  throw new \LogicException("Agent has no config.");
60  }
61 
62  public function getInstallObjective(Config $config = null): Objective
63  {
64  return new Setup\Objective\NullObjective();
65  }
66 
68  {
69  return new Setup\Objective\NullObjective();
70  }
71 
72  public function getMigrations(): array
73  {
74  return [
80  ];
81  }
82 }
An agent that just doesn&#39;t do a thing.
Definition: NullAgent.php:34
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getStatusObjective(Metrics\Storage $storage)
Class ChatMainBarProvider .
getMigrations()
Get a named map of migrations available for this Agent.
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
getInstallObjective(Config $config=null)
Get the goals the agent wants to achieve on setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
hasConfig()
Does this agent require a configuration?
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.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
A configuration for the setup.
Definition: Config.php:26
getUpdateObjective(ILIAS\Setup\Config $config=null)