ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilCmiXapiSetupAgent.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
ilCmiXapiSetupAgent
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
ilCmiXapiDatabaseUpdateSteps
()
48
);
49
}
50
51
public
function
getBuildObjective
():
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
Setup\Objective\NullObjective
();
59
}
60
64
public
function
getMigrations
(): array
65
{
66
return
[];
67
}
68
}
ILIAS\Refinery
Definition:
Refinery.php:24
ILIAS\Setup\Objective\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:29
ILIAS\Setup
Definition:
Setup.php:26
ilCmiXapiDatabaseUpdateSteps
Definition:
class.ilCmiXapiDatabaseUpdateSteps.php:22
ilCmiXapiSetupAgent
Definition:
class.ilCmiXapiSetupAgent.php:26
ilCmiXapiSetupAgent\hasConfig
hasConfig()
Definition:
class.ilCmiXapiSetupAgent.php:29
ilCmiXapiSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilCmiXapiSetupAgent.php:44
ilCmiXapiSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilCmiXapiSetupAgent.php:51
ilCmiXapiSetupAgent\getMigrations
getMigrations()
Definition:
class.ilCmiXapiSetupAgent.php:64
ilCmiXapiSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilCmiXapiSetupAgent.php:34
ilCmiXapiSetupAgent\getInstallObjective
getInstallObjective(?Setup\Config $config=null)
Definition:
class.ilCmiXapiSetupAgent.php:39
ilCmiXapiSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilCmiXapiSetupAgent.php:56
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
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
ILIAS\UI\Storage
Storage is simple key/value store without further schema definition.
Definition:
Storage.php:30
ILIAS\Refinery
Definition:
ByTrying.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\UI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
components
ILIAS
CmiXapi
classes
Setup
class.ilCmiXapiSetupAgent.php
Generated on Sat Oct 18 2025 23:02:44 for ILIAS by
1.9.4 (using
Doxyfile
)