ILIAS  release_8 Revision v8.25
class.ilTestQuestionPoolSetupAgent.php
Go to the documentation of this file.
1<?php
2
20use ILIAS\Setup\Agent\HasNoNamedObjective;
26
28{
29 use HasNoNamedObjective;
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
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}
A non-objective, nothing to do to achieve it...
This class attempt to achieve a set of database update steps.
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
getMigrations()
Get a named map of migrations available for this Agent.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
hasConfig()
Does this agent require a configuration?
getInstallObjective(Config $config=null)
Get the goals the agent wants to achieve on setup.
getUpdateObjective(ILIAS\Setup\Config $config=null)
A transformation is a function from one datatype to another.
A agent is some component that performs part of the setup process.
Definition: Agent.php:30
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
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...
Class ChatMainBarProvider \MainMenu\Provider.