ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ilExportSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Export\Setup\BuildExportOptionsMapObjective
as ilExportSetupBuildOptionsMapObjective;
22
use
ILIAS\Export\Setup\DBUpdateSteps10
as ilExportSetupDBUpdateSteps10;
23
use
ILIAS\Setup\Agent\NullAgent
;
24
use
ILIAS\Setup\Config
;
25
use
ILIAS\Setup\Metrics\Storage
;
26
use
ILIAS\Setup\Objective
;
27
use
ILIAS\Setup\ObjectiveCollection
;
28
29
class
ilExportSetupAgent
extends
NullAgent
30
{
31
public
function
getUpdateObjective
(?
Config
$config =
null
):
Objective
32
{
33
return
new
ObjectiveCollection
(
34
"Export"
,
35
false
,
36
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilExportSetupDBUpdateSteps10())
37
);
38
}
39
40
public
function
getStatusObjective
(
Storage
$storage):
Objective
41
{
42
return
new
ObjectiveCollection
(
43
'Component Export'
,
44
true
,
45
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilExportSetupDBUpdateSteps10())
46
);
47
}
48
49
public
function
getMigrations
(): array
50
{
51
return
[
new
ilExportFilesToIRSSMigration
()];
52
}
53
54
public
function
getBuildObjective
():
Objective
55
{
56
return
new
ilExportSetupBuildOptionsMapObjective();
57
}
58
}
ILIAS\Export\Setup\BuildExportOptionsMapObjective
Definition:
BuildExportOptionsMapObjective.php:31
ILIAS\Export\Setup\DBUpdateSteps10
Definition:
DBUpdateSteps10.php:28
ILIAS\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:35
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved.
Definition:
ObjectiveCollection.php:27
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
ilDatabaseUpdateStepsMetricsCollectedObjective
Definition:
class.ilDatabaseUpdateStepsMetricsCollectedObjective.php:27
ilExportFilesToIRSSMigration
Definition:
ilExportFilesToIRSSMigration.php:26
ilExportSetupAgent
Definition:
ilExportSetupAgent.php:30
ilExportSetupAgent\getMigrations
getMigrations()
@inheritDoc
Definition:
ilExportSetupAgent.php:49
ilExportSetupAgent\getStatusObjective
getStatusObjective(Storage $storage)
Definition:
ilExportSetupAgent.php:40
ilExportSetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
@inheritdocs
Definition:
ilExportSetupAgent.php:31
ilExportSetupAgent\getBuildObjective
getBuildObjective()
@inheritdocs
Definition:
ilExportSetupAgent.php:54
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:27
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:24
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\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
components
ILIAS
Export
classes
Setup
ilExportSetupAgent.php
Generated on Sat Oct 18 2025 23:03:01 for ILIAS by
1.9.4 (using
Doxyfile
)