ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilLTISetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Refinery
;
23
use
ILIAS\UI
;
24
25
class
ilLTISetupAgent
implements
Setup\Agent
26
{
27
use
Setup\Agent\HasNoNamedObjective
;
28
29
public
function
hasConfig
(): bool
30
{
31
return
false
;
32
}
33
34
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
35
{
36
throw
new
LogicException
(
"Agent has no config."
);
37
}
38
39
public
function
getInstallObjective
(Setup\
Config
$config = null): Setup\
Objective
40
{
41
return
new
Setup\Objective\NullObjective();
42
}
43
44
public
function
getUpdateObjective
(Setup\
Config
$config = null): Setup\
Objective
45
{
46
return
new
ilDatabaseUpdateStepsExecutedObjective
(
47
new
ilLTIDatabaseUpdateSteps
()
48
);
49
}
50
51
public
function
getBuildArtifactObjective
(): Setup\
Objective
52
{
53
return
new
Setup\Objective\NullObjective();
54
}
55
56
public
function
getStatusObjective
(Setup\Metrics\Storage $storage): Setup\
Objective
57
{
58
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilLTIDatabaseUpdateSteps
());
59
}
60
64
public
function
getMigrations
(): array
65
{
66
return
[];
67
}
68
}
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
ILIAS\Refinery
Definition:
ByTrying.php:21
ilLTISetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilLTISetupAgent.php:34
ilLTISetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilLTISetupAgent.php:56
ilDatabaseUpdateStepsExecutedObjective
ilLTIDatabaseUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilLTIDatabaseUpdateSteps.php:21
ilLTISetupAgent\hasConfig
hasConfig()
Definition:
class.ilLTISetupAgent.php:29
ilDatabaseUpdateStepsMetricsCollectedObjective
ilLTISetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilLTISetupAgent.php:44
ilLTISetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilLTISetupAgent.php:51
Factory
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
ilLTISetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilLTISetupAgent.php:39
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ILIAS\UI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilLTISetupAgent\getMigrations
getMigrations()
Definition:
class.ilLTISetupAgent.php:64
ilLTISetupAgent
Definition:
class.ilLTISetupAgent.php:25
Services
LTI
classes
Setup
class.ilLTISetupAgent.php
Generated on Wed Sep 10 2025 14:11:34 for ILIAS by
1.8.13 (using
Doxyfile
)