ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
class.ilComponentsSetupAgent.php
Go to the documentation of this file.
1
<?php
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Refinery\Transformation
;
23
24
class
ilComponentsSetupAgent
implements
Setup\Agent
25
{
26
use Setup\Agent\HasNoNamedObjective;
27
31
public
function
hasConfig
(): bool
32
{
33
return
false
;
34
}
35
39
public
function
getArrayToConfigTransformation
():
Transformation
40
{
41
throw
new
LogicException(self::class .
" has no Config."
);
42
}
43
47
public
function
getInstallObjective
(Setup\
Config
$config
=
null
): Setup\
Objective
48
{
49
return
new
ilComponentDefinitionsStoredObjective
();
50
}
51
55
public
function
getUpdateObjective
(Setup\
Config
$config
=
null
): Setup\
Objective
56
{
57
return
new
Setup\ObjectiveCollection
(
58
"Updates of Services/Components"
,
59
false
,
60
new
ilDatabaseUpdateStepsExecutedObjective
(
61
new
ilIntroduceComponentArtifactDBUpdateSteps
()
62
),
63
new
ilComponentDefinitionsStoredObjective
(
false
)
64
);
65
}
66
70
public
function
getBuildArtifactObjective
(): Setup\
Objective
71
{
72
return
new
Setup\ObjectiveCollection
(
73
"Artifacts for Services/Component"
,
74
false
,
75
new
ilComponentBuildComponentInfoObjective
(),
76
new
ilComponentBuildPluginInfoObjective
()
77
);
78
}
79
83
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
84
{
85
return
new
Setup\Objective\NullObjective
();
86
}
87
91
public
function
getMigrations
(): array
92
{
93
return
[];
94
}
95
}
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
ilComponentBuildComponentInfoObjective
Definition:
class.ilComponentBuildComponentInfoObjective.php:22
ilComponentBuildPluginInfoObjective
Definition:
class.ilComponentBuildPluginInfoObjective.php:22
ilComponentDefinitionsStoredObjective
Definition:
class.ilComponentDefinitionsStoredObjective.php:26
ilComponentsSetupAgent
Definition:
class.ilComponentsSetupAgent.php:25
ilComponentsSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilComponentsSetupAgent.php:55
ilComponentsSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilComponentsSetupAgent.php:47
ilComponentsSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilComponentsSetupAgent.php:83
ilComponentsSetupAgent\hasConfig
hasConfig()
Definition:
class.ilComponentsSetupAgent.php:31
ilComponentsSetupAgent\getMigrations
getMigrations()
@inheritDoc
Definition:
class.ilComponentsSetupAgent.php:91
ilComponentsSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilComponentsSetupAgent.php:39
ilComponentsSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilComponentsSetupAgent.php:70
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:27
ilIntroduceComponentArtifactDBUpdateSteps
Definition:
class.ilIntroduceComponentArtifactDBUpdateSteps.php:25
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\Objective
An objective is a desired state of the system that is supposed to be created by the setup.
Definition:
Objective.php:31
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:85
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
Services
Component
classes
Setup
class.ilComponentsSetupAgent.php
Generated on Mon Nov 3 2025 22:01:44 for ILIAS by
1.9.4 (using
Doxyfile
)