ILIAS  release_8 Revision v8.24
class.ilFileObjectMigrationAgent.php
Go to the documentation of this file.
1<?php
2
20use ILIAS\Setup;
21
23{
24 use Setup\Agent\HasNoNamedObjective;
25
26 protected \ILIAS\Refinery\Factory $refinery;
27
28 public function __construct(Refinery\Factory $refinery)
29 {
30 $this->refinery = $refinery;
31 }
32
36 public function hasConfig(): bool
37 {
38 return false;
39 }
40
45 {
46 throw new \LogicException("Agent has no config.");
47 }
48
52 public function getInstallObjective(Setup\Config $config = null): Setup\Objective
53 {
55 }
56
60 public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
61 {
63 }
64
68 public function getBuildArtifactObjective(): Setup\Objective
69 {
71 }
72
76 public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
77 {
79 }
80
84 public function getMigrations(): array
85 {
86 return [
88 ];
89 }
90}
Builds data types.
Definition: Factory.php:21
A non-objective, nothing to do to achieve it...
getUpdateObjective(Setup\Config $config=null)
getInstallObjective(Setup\Config $config=null)
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: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...
Definition: ByTrying.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...