ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilLTIConsumerSetupAgent.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
ilLTIConsumerSetupAgent
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
ilLTIConsumerDatabaseUpdateSteps
()
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
ilLTIConsumerDatabaseUpdateSteps
());
59
}
60
64
public
function
getMigrations
(): array
65
{
66
return
[];
67
}
68
}
LogicException
ilLTIConsumerSetupAgent\getInstallObjective
getInstallObjective(Setup\Config $config=null)
Definition:
class.ilLTIConsumerSetupAgent.php:39
ilLTIConsumerSetupAgent
Definition:
class.ilLTIConsumerSetupAgent.php:25
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
ilLTIConsumerSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilLTIConsumerSetupAgent.php:34
ilLTIConsumerSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilLTIConsumerSetupAgent.php:56
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
ilLTIConsumerSetupAgent\hasConfig
hasConfig()
Definition:
class.ilLTIConsumerSetupAgent.php:29
Factory
ilLTIConsumerDatabaseUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilLTIConsumerDatabaseUpdateSteps.php:21
ilLTIConsumerSetupAgent\getBuildArtifactObjective
getBuildArtifactObjective()
Definition:
class.ilLTIConsumerSetupAgent.php:51
ilLTIConsumerSetupAgent\getUpdateObjective
getUpdateObjective(Setup\Config $config=null)
Definition:
class.ilLTIConsumerSetupAgent.php:44
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
ilLTIConsumerSetupAgent\getMigrations
getMigrations()
Definition:
class.ilLTIConsumerSetupAgent.php:64
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
Modules
LTIConsumer
classes
Setup
class.ilLTIConsumerSetupAgent.php
Generated on Wed Sep 10 2025 14:10:56 for ILIAS by
1.8.13 (using
Doxyfile
)