ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ 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
getBuildObjective
():
Objective
37
{
38
return
new
ArtifactObjective
();
39
}
40
41
#[\Override]
42
public
function
getUpdateObjective
(?
Config
$config =
null
):
Objective
43
{
44
return
new
ObjectiveCollection
(
45
'Static URL Services'
,
46
true
,
47
new
\
ilTreeAdminNodeAddedObjective
(
48
'stus'
,
49
'__StaticURLServiceAdministration'
50
),
51
new
\
ilDatabaseUpdateStepsExecutedObjective
(
52
new
ShortlinksDBSteps11
()
53
)
54
);
55
}
56
57
}
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\ArtifactObjective
Definition:
ArtifactObjective.php:33
ILIAS\StaticURL\SetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
Definition:
SetupAgent.php:42
ILIAS\StaticURL\SetupAgent\getBuildObjective
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
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:
class.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 Sat Dec 13 2025 23:03:39 for ILIAS by
1.9.4 (using
Doxyfile
)