ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilFileObjectMigrationAgent.php
Go to the documentation of this file.
1<?php
2
5
7{
8 use Setup\Agent\HasNoNamedObjective;
9
10 protected $refinery;
11
12 public function __construct(Refinery\Factory $refinery)
13 {
14 $this->refinery = $refinery;
15 }
16
20 public function hasConfig() : bool
21 {
22 return false;
23 }
24
29 {
30 throw new \LogicException("Agent has no config.");
31 }
32
36 public function getInstallObjective(Setup\Config $config = null) : Setup\Objective
37 {
39 }
40
44 public function getUpdateObjective(Setup\Config $config = null) : Setup\Objective
45 {
47 }
48
52 public function getBuildArtifactObjective() : Setup\Objective
53 {
55 }
56
60 public function getStatusObjective(Setup\Metrics\Storage $storage) : Setup\Objective
61 {
63 }
64
68 public function getMigrations() : array
69 {
70 return [
72 ];
73 }
74}
An exception for terminatinating execution or to throw for unit testing.
Builds data types.
Definition: Factory.php:20
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: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...