ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
class.ilEventHandlingSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
use
ILIAS\Setup
;
20
use
ILIAS\Refinery\Transformation
;
21
22
class
ilEventHandlingSetupAgent
implements
Setup\Agent
23
{
24
use
Setup\Agent\HasNoNamedObjective
;
25
29
public
function
hasConfig
(): bool
30
{
31
return
false
;
32
}
33
37
public
function
getArrayToConfigTransformation
():
Transformation
38
{
39
throw
new
LogicException
(self::class .
" has no Config."
);
40
}
41
45
public
function
getInstallObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
46
{
47
return
new
ilEventHandlingDefinitionsStoredObjective
();
48
}
49
53
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
54
{
55
return
new
Setup\ObjectiveCollection(
56
"Updates of Services/EventHandling"
,
57
false
,
58
new
ilDatabaseUpdateStepsExecutedObjective
(
59
new
ilIntroduceEventHandlingArtifactDBUpdateSteps
()
60
),
61
new
ilEventHandlingDefinitionsStoredObjective
(
false
)
62
);
63
}
64
68
public
function
getBuildObjective
():
Setup
\
Objective
69
{
70
return
new
Setup\ObjectiveCollection(
71
"Artifacts for Services/EventHandling"
,
72
false
,
73
new
ilEventHandlingBuildEventInfoObjective
()
74
);
75
}
76
80
public
function
getStatusObjective
(
Setup
\Metrics\
Storage
$storage):
Setup
\
Objective
81
{
82
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilIntroduceEventHandlingArtifactDBUpdateSteps
());
83
}
84
88
public
function
getMigrations
(): array
89
{
90
return
[];
91
}
92
}
LogicException
ilEventHandlingSetupAgent
Definition:
class.ilEventHandlingSetupAgent.php:22
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
ilEventHandlingSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilEventHandlingSetupAgent.php:68
ilEventHandlingBuildEventInfoObjective
Definition:
class.ilEventHandlingBuildEventInfoObjective.php:21
ilEventHandlingSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilEventHandlingSetupAgent.php:80
ilEventHandlingSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilEventHandlingSetupAgent.php:53
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
ilEventHandlingDefinitionsStoredObjective
Definition:
class.ilEventHandlingDefinitionsStoredObjective.php:22
Transformation
ILIAS\Setup\Agent
A agent is some component that performs part of the setup process.
Definition:
Agent.php:29
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilIntroduceEventHandlingArtifactDBUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilIntroduceEventHandlingArtifactDBUpdateSteps.php:19
ILIAS\UI\Storage
Storage is simple key/value store without further schema definition.
Definition:
Storage.php:29
ilEventHandlingSetupAgent\hasConfig
hasConfig()
Definition:
class.ilEventHandlingSetupAgent.php:29
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
ilEventHandlingSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilEventHandlingSetupAgent.php:37
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
ilEventHandlingSetupAgent\getInstallObjective
getInstallObjective(?Setup\Config $config=null)
Definition:
class.ilEventHandlingSetupAgent.php:45
ILIAS\Setup
Definition:
Setup.php:25
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilEventHandlingSetupAgent\getMigrations
getMigrations()
Definition:
class.ilEventHandlingSetupAgent.php:88
components
ILIAS
EventHandling
classes
Setup
class.ilEventHandlingSetupAgent.php
Generated on Mon Sep 1 2025 23:02:58 for ILIAS by
1.8.13 (using
Doxyfile
)