ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
SetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\StaticURL;
22
29
33class 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,
48 'stus',
49 '__StaticURLServiceAdministration'
50 ),
53 )
54 );
55 }
56
57}
An agent that just doesn't do a thing.
Definition: NullAgent.php:35
A objective collection is a objective that is achieved once all subobjectives are achieved.
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
Definition: SetupAgent.php:42
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
Definition: SetupAgent.php:36
This class attempt to achieve a set of database update steps.
A agent is some component that performs part of the setup process.
Definition: Agent.php:30
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...