ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilComponentsSetupAgent.php
Go to the documentation of this file.
1
<?php
2
20
declare(strict_types=1);
21
22
use
ILIAS\Setup
;
23
use
ILIAS\Refinery\Transformation
;
24
25
class
ilComponentsSetupAgent
implements
Setup\Agent
26
{
27
use
Setup\Agent\HasNoNamedObjective
;
28
32
public
function
hasConfig
(): bool
33
{
34
return
false
;
35
}
36
40
public
function
getArrayToConfigTransformation
():
Transformation
41
{
42
throw
new
LogicException
(self::class .
" has no Config."
);
43
}
44
48
public
function
getInstallObjective
(Setup\
Config
$config = null): Setup\
Objective
49
{
50
return
new
ilComponentDefinitionsStoredObjective
();
51
}
52
56
public
function
getUpdateObjective
(Setup\
Config
$config = null): Setup\
Objective
57
{
58
return
new
Setup\ObjectiveCollection(
59
"Updates of Services/Components"
,
60
false
,
61
new
ilDatabaseUpdateStepsExecutedObjective
(
62
new
ilIntroduceComponentArtifactDBUpdateSteps
()
63
),
64
new
ilComponentDefinitionsStoredObjective
(
false
)
65
);
66
}
67
71
public
function
getBuildArtifactObjective
(): Setup\
Objective
72
{
73
return
new
Setup\ObjectiveCollection(
74
"Artifacts for Services/Component"
,
75
false
,
76
new
ilComponentBuildComponentInfoObjective
(),
77
new
ilComponentBuildPluginInfoObjective
()
78
);
79
}
80
84
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
85
{
86
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilIntroduceComponentArtifactDBUpdateSteps
());
87
}
88
92
public
function
getMigrations
(): array
93
{
94
return
[];
95
}
96
}
LogicException
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
ilComponentsSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilComponentsSetupAgent.php:40
ilComponentsSetupAgent\getMigrations
getMigrations()
Definition:
class.ilComponentsSetupAgent.php:92
ilComponentsSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilComponentsSetupAgent.php:84
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
Transformation
ilComponentDefinitionsStoredObjective
Definition:
class.ilComponentDefinitionsStoredObjective.php:25
ilComponentsSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilComponentsSetupAgent.php:48
ilComponentBuildPluginInfoObjective
Definition:
class.ilComponentBuildPluginInfoObjective.php:22
ilComponentsSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilComponentsSetupAgent.php:56
ilComponentsSetupAgent
Definition:
class.ilComponentsSetupAgent.php:25
ilComponentsSetupAgent\hasConfig
hasConfig()
Definition:
class.ilComponentsSetupAgent.php:32
ilComponentsSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilComponentsSetupAgent.php:71
ilComponentBuildComponentInfoObjective
Definition:
class.ilComponentBuildComponentInfoObjective.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
ilIntroduceComponentArtifactDBUpdateSteps
Definition:
class.ilIntroduceComponentArtifactDBUpdateSteps.php:24
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
Services
Component
classes
Setup
class.ilComponentsSetupAgent.php
Generated on Wed Sep 10 2025 14:11:21 for ILIAS by
1.8.13 (using
Doxyfile
)