ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
◀ ilDoc Overview
SetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\StaticURL
;
22
23
use
ILIAS\Setup\Agent\NullAgent
;
24
use
ILIAS\Setup\Agent
;
25
use
ILIAS\Setup\Objective
;
26
use
ILIAS\Setup\Config
;
27
use
ILIAS\Setup\ObjectiveCollection
;
28
use
ILIAS\StaticURL\Setup\Shortlinks\ShortlinksDBSteps11
;
29
33
class
SetupAgent
extends
NullAgent
implements
Agent
34
{
35
#[\Override]
36
public
function
getUpdateObjective
(?
Config
$config =
null
):
Objective
37
{
38
return
new
ObjectiveCollection
(
39
'Static URL Services'
,
40
true
,
41
new
\
ilTreeAdminNodeAddedObjective
(
42
'stus'
,
43
'__StaticURLServiceAdministration'
44
),
45
new
\
ilDatabaseUpdateStepsExecutedObjective
(
46
new
ShortlinksDBSteps11
()
47
)
48
);
49
}
50
51
}
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
ILIAS\StaticURL\SetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
Definition:
SetupAgent.php:36
ILIAS\StaticURL\Setup\Shortlinks\ShortlinksDBSteps11
Definition:
ShortlinksDBSteps11.php:27
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
ilDatabaseUpdateStepsExecutedObjective.php:28
ilTreeAdminNodeAddedObjective
Definition:
class.ilTreeAdminNodeAddedObjective.php:26
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\Setup\Agent
Definition:
HasNoNamedObjective.php:21
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
ILIAS\StaticURL
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ArtifactObjective.php:21
components
ILIAS
StaticURL
src
SetupAgent.php
Generated on Wed Nov 11 2026 23:10:10 for ILIAS by
1.9.4 (using
Doxyfile
)