ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilDataCollectionSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Setup\Config
;
23
use
ILIAS\Setup\Objective
;
24
use
ILIAS\Setup\Metrics\Storage
;
25
use
ILIAS\Setup\Objective\NullObjective
;
26
use
ILIAS\Refinery\Transformation
;
27
28
class
ilDataCollectionSetupAgent
implements
Setup\Agent
29
{
30
public
function
getUpdateObjective
(
Config
$config = null):
Objective
31
{
32
return
new
Setup\ObjectiveCollection(
33
'DataCollection Update'
,
34
true
,
35
new
ilDataCollectionObjective
(
new
ilDataCollectionDBUpdateSteps9
()),
36
new
ilDataCollectionObjective
(
new
ilDataCollection9HotfixDBUpdateSteps
()),
37
);
38
}
39
40
public
function
getMigrations
(): array
41
{
42
return
[
43
new
ilDataCollectionStorageMigration
()
44
];
45
}
46
47
public
function
hasConfig
(): bool
48
{
49
return
false
;
50
}
51
52
public
function
getArrayToConfigTransformation
():
Transformation
53
{
54
throw
new
LogicException
(self::class .
" has no config."
);
55
}
56
57
public
function
getInstallObjective
(
Config
$config = null):
Objective
58
{
59
return
new
NullObjective
();
60
}
61
62
public
function
getBuildArtifactObjective
():
Objective
63
{
64
return
new
NullObjective
();
65
}
66
67
public
function
getStatusObjective
(
Storage
$storage):
Objective
68
{
69
return
new
NullObjective
();
70
}
71
72
public
function
getNamedObjectives
(?
Config
$config = null): array
73
{
74
return
[];
75
}
76
}
LogicException
Storage
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup...
Definition:
Objective.php:30
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:23
ilDataCollectionDBUpdateSteps9
Definition:
class.ilDataCollectionDBUpdateSteps9.php:21
ilDataCollectionObjective
Definition:
class.ilDataCollectionObjective.php:24
ilDataCollectionSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilDataCollectionSetupAgent.php:52
ilDataCollectionSetupAgent\getUpdateObjective
getUpdateObjective(Config $config=null)
Definition:
class.ilDataCollectionSetupAgent.php:30
Config
ilDataCollectionSetupAgent\hasConfig
hasConfig()
Definition:
class.ilDataCollectionSetupAgent.php:47
ilDataCollectionStorageMigration
AutoloadingIssuesInspection
Definition:
class.ilDataCollectionStorageMigration.php:26
Transformation
ILIAS\Setup\Objective\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:28
ilDataCollectionSetupAgent\getStatusObjective
getStatusObjective(Storage $storage)
Definition:
class.ilDataCollectionSetupAgent.php:67
ilDataCollectionSetupAgent\getInstallObjective
getInstallObjective(Config $config=null)
Definition:
class.ilDataCollectionSetupAgent.php:57
ilDataCollectionSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilDataCollectionSetupAgent.php:62
ilDataCollection9HotfixDBUpdateSteps
Definition:
class.ilDataCollection9HotfixDBUpdateSteps.php:21
ilDataCollectionSetupAgent\getMigrations
getMigrations()
Definition:
class.ilDataCollectionSetupAgent.php:40
ILIAS\Setup\Objective
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AdminConfirmedObjective.php:21
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ilDataCollectionSetupAgent\getNamedObjectives
getNamedObjectives(?Config $config=null)
Definition:
class.ilDataCollectionSetupAgent.php:72
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilDataCollectionSetupAgent
Definition:
class.ilDataCollectionSetupAgent.php:28
NullObjective
Modules
DataCollection
classes
Setup
class.ilDataCollectionSetupAgent.php
Generated on Wed Sep 10 2025 14:10:45 for ILIAS by
1.8.13 (using
Doxyfile
)