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