ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
ilDataCollectionDBUpdateSteps10
()),
37
new
ilDataCollectionObjective
(
new
ilDataCollectionDBUpdateSteps11
()),
38
);
39
}
40
41
public
function
getMigrations
(): array
42
{
43
return
[
44
new
ilDataCollectionStorageMigration
(),
45
new
ilDataCollectionInitLOMMigration
()
46
];
47
}
48
49
public
function
hasConfig
(): bool
50
{
51
return
false
;
52
}
53
54
public
function
getArrayToConfigTransformation
():
Transformation
55
{
56
throw
new
LogicException(self::class .
" has no config."
);
57
}
58
59
public
function
getInstallObjective
(?
Config
$config =
null
):
Objective
60
{
61
return
new
NullObjective
();
62
}
63
64
public
function
getBuildArtifactObjective
():
Objective
65
{
66
return
new
NullObjective
();
67
}
68
69
public
function
getStatusObjective
(
Storage
$storage):
Objective
70
{
71
return
new
NullObjective
();
72
}
73
74
public
function
getNamedObjectives
(?
Config
$config =
null
): array
75
{
76
return
[];
77
}
78
79
public
function
getBuildObjective
():
Objective
80
{
81
return
new
NullObjective
();
82
}
83
}
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved.
Definition:
ObjectiveCollection.php:27
ILIAS\Setup\Objective\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:29
ilDataCollectionDBUpdateSteps10
Definition:
class.ilDataCollectionDBUpdateSteps10.php:22
ilDataCollectionDBUpdateSteps11
Definition:
class.ilDataCollectionDBUpdateSteps11.php:22
ilDataCollectionDBUpdateSteps9
Definition:
class.ilDataCollectionDBUpdateSteps9.php:22
ilDataCollectionInitLOMMigration
Definition:
class.ilDataCollectionInitLOMMigration.php:24
ilDataCollectionObjective
Definition:
class.ilDataCollectionObjective.php:25
ilDataCollectionSetupAgent
Definition:
class.ilDataCollectionSetupAgent.php:29
ilDataCollectionSetupAgent\getMigrations
getMigrations()
Definition:
class.ilDataCollectionSetupAgent.php:41
ilDataCollectionSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilDataCollectionSetupAgent.php:64
ilDataCollectionSetupAgent\getInstallObjective
getInstallObjective(?Config $config=null)
Definition:
class.ilDataCollectionSetupAgent.php:59
ilDataCollectionSetupAgent\getNamedObjectives
getNamedObjectives(?Config $config=null)
Definition:
class.ilDataCollectionSetupAgent.php:74
ilDataCollectionSetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
Definition:
class.ilDataCollectionSetupAgent.php:30
ilDataCollectionSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilDataCollectionSetupAgent.php:54
ilDataCollectionSetupAgent\getStatusObjective
getStatusObjective(Storage $storage)
Definition:
class.ilDataCollectionSetupAgent.php:69
ilDataCollectionSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilDataCollectionSetupAgent.php:79
ilDataCollectionSetupAgent\hasConfig
hasConfig()
Definition:
class.ilDataCollectionSetupAgent.php:49
ilDataCollectionStorageMigration
@noinspection AutoloadingIssuesInspection
Definition:
class.ilDataCollectionStorageMigration.php:27
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:35
ILIAS\Setup\Agent
A agent is some component that performs part of the setup process.
Definition:
Agent.php:30
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:27
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:24
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup.
Definition:
Objective.php:31
ILIAS\Setup\Objective
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
components
ILIAS
DataCollection
classes
Setup
class.ilDataCollectionSetupAgent.php
Generated on Sat Oct 18 2025 23:02:56 for ILIAS by
1.9.4 (using
Doxyfile
)