ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
}
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:39
ilComponentsSetupAgent\getMigrations
getMigrations()
Definition:
class.ilComponentsSetupAgent.php:91
ilComponentsSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilComponentsSetupAgent.php:83
$config
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition:
metadata.php:85
ilDatabaseUpdateStepsExecutedObjective
Transformation
ilComponentDefinitionsStoredObjective
Definition:
class.ilComponentDefinitionsStoredObjective.php:25
ilComponentsSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilComponentsSetupAgent.php:47
ilComponentBuildPluginInfoObjective
Definition:
class.ilComponentBuildPluginInfoObjective.php:21
ilComponentsSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilComponentsSetupAgent.php:55
ilComponentsSetupAgent
Definition:
class.ilComponentsSetupAgent.php:24
ilComponentsSetupAgent\hasConfig
hasConfig()
Definition:
class.ilComponentsSetupAgent.php:31
ilComponentsSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilComponentsSetupAgent.php:70
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 Tue Apr 1 2025 22:01:49 for ILIAS by
1.8.13 (using
Doxyfile
)