ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilTestQuestionPoolSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
26 
28 {
30 
31  public function getUpdateObjective(ILIAS\Setup\Config $config = null): ILIAS\Setup\Objective
32  {
34  }
35 
36  public function hasConfig(): bool
37  {
38  return false;
39  }
40 
42  {
43  throw new \LogicException('Agent has no config.');
44  }
45 
46  public function getInstallObjective(Config $config = null): Objective
47  {
48  return new NullObjective();
49  }
50 
52  {
53  return new NullObjective();
54  }
55 
56  public function getStatusObjective(Storage $storage): Objective
57  {
58  return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilTestQuestionPool80DBUpdateSteps());
59  }
60 
61  public function getMigrations(): array
62  {
63  return [
65  ];
66  }
67 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
Class ChatMainBarProvider .
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
A agent is some component that performs part of the setup process.
Definition: Agent.php:29
getInstallObjective(Config $config=null)
Get the goals the agent wants to achieve on setup.
A non-objective, nothing to do to achieve it...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUpdateObjective(ILIAS\Setup\Config $config=null)
A transformation is a function from one datatype to another.
hasConfig()
Does this agent require a configuration?
getMigrations()
Get a named map of migrations available for this Agent.
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...