ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilLearningSequenceSetupAgent.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2020 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
7use ILIAS\UI;
8
10{
11 use Setup\Agent\HasNoNamedObjective;
12
16 public function hasConfig() : bool
17 {
18 return false;
19 }
20
25 {
26 throw new \LogicException("Agent has no config.");
27 }
28
32 public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
33 {
37 );
38 }
39
43 public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
44 {
46 }
47
51 public function getBuildArtifactObjective() : Setup\Objective
52 {
54 }
55
59 public function getStatusObjective(Setup\Metrics\Storage $storage) : Setup\Objective
60 {
62 }
63
67 public function getMigrations() : array
68 {
69 return [];
70 }
71}
An exception for terminatinating execution or to throw for unit testing.
A non-objective, nothing to do to achieve it...
getStatusObjective(Setup\Metrics\Storage $storage)
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:14
A configuration for the setup.
Definition: Config.php:11
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:15
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...