ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
Agent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
30use ILIAS\Export\Setup\BuildExportOptionsMapObjective as ilExportSetupBuildOptionsMapObjective;
31
32class Agent extends NullAgent
33{
34 public function getUpdateObjective(?Config $config = null): Objective
35 {
36 return new ObjectiveCollection(
37 "HTML Export",
38 false,
40 );
41 }
42
43 public function getStatusObjective(Storage $storage): Objective
44 {
45 return new ObjectiveCollection(
46 'Component HTML Export',
47 true,
49 );
50 }
51
52 public function getMigrations(): array
53 {
54 return [];
55 }
56}
getStatusObjective(Storage $storage)
Definition: Agent.php:43
getMigrations()
@inheritDoc
Definition: Agent.php:52
getUpdateObjective(?Config $config=null)
@inheritdocs
Definition: Agent.php:34
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.
This class attempt to achieve a set of database update steps.
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