ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.ilObjectSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\Object\Setup
;
20
21
use
ILIAS\Object\Properties\ObjectTypeSpecificProperties\ilObjectTypeSpecificPropertiesArtifactObjective
;
22
use
ILIAS\Setup\Agent\NullAgent
;
23
use
ILIAS\Setup\Config
;
24
use
ILIAS\Setup\Objective
;
25
use
ILIAS\Setup\ObjectiveCollection
;
26
use
ILIAS\Setup\Metrics
;
27
28
class
ilObjectSetupAgent
extends
NullAgent
29
{
30
public
function
getUpdateObjective
(
Config
$config = null):
Objective
31
{
32
return
new
ObjectiveCollection
(
33
'Database is updated for ILIASObject'
,
34
false
,
35
new
\
ilDatabaseUpdateStepsExecutedObjective
(
36
new
ilObjectDBUpdateSteps
()
37
),
38
new
\
ilDatabaseUpdateStepsExecutedObjective
(
39
new
ilObject9DBUpdateSteps
()
40
)
41
);
42
}
43
44
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
45
{
46
return
new
ObjectiveCollection
(
47
'components/ILIAS/ILIASObject'
,
48
true
,
49
new
\
ilDatabaseUpdateStepsMetricsCollectedObjective
(
50
$storage,
51
new
ilObjectDBUpdateSteps
()
52
),
53
new
\
ilDatabaseUpdateStepsMetricsCollectedObjective
(
54
$storage,
55
new
ilObject9DBUpdateSteps
()
56
)
57
);
58
}
59
60
public
function
getBuildObjective
():
Objective
61
{
62
return
new
ilObjectTypeSpecificPropertiesArtifactObjective
();
63
}
64
}
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
ILIAS\Object\Properties\ObjectTypeSpecificProperties\ilObjectTypeSpecificPropertiesArtifactObjective
Definition:
ilObjectTypeSpecificPropertiesArtifactObjective.php:30
ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:34
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\Setup\Metrics\Storage
Definition:
Storage.php:23
ILIAS\Object\Setup\ilObjectDBUpdateSteps
Definition:
class.ilObjectDBUpdateSteps.php:24
ilDatabaseUpdateStepsExecutedObjective
Config
ilDatabaseUpdateStepsMetricsCollectedObjective
ILIAS\Object\Setup\ilObjectSetupAgent\getUpdateObjective
getUpdateObjective(Config $config=null)
Definition:
class.ilObjectSetupAgent.php:30
ILIAS\Object\Setup\ilObject9DBUpdateSteps
Definition:
class.ilObject9DBUpdateSteps.php:21
ILIAS\Object\Setup\ilObjectSetupAgent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
Definition:
class.ilObjectSetupAgent.php:44
ILIAS\Setup\Metrics
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ArrayStorage.php:21
ILIAS\Object\Setup\ilObjectSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilObjectSetupAgent.php:60
ObjectiveCollection
ILIAS\Object\Setup\ilObjectSetupAgent
Definition:
class.ilObjectSetupAgent.php:28
ILIAS\Setup\Objective
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AdminConfirmedObjective.php:21
ilObjectTypeSpecificPropertiesArtifactObjective
NullAgent
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ILIAS\Object\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilObject9DBUpdateSteps.php:19
components
ILIAS
ILIASObject
classes
Setup
class.ilObjectSetupAgent.php
Generated on Wed Sep 10 2025 15:15:46 for ILIAS by
1.8.13 (using
Doxyfile
)