ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.Agent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use ILIAS\Setup;
26
31{
32 public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
33 {
34 return new \ilDatabaseUpdateStepsExecutedObjective(new BlogDBUpdateSteps());
35 }
36
37 public function getMigrations(): array
38 {
39 return [new InitLOMForBlogMigration()];
40 }
41
42 public function getStatusObjective(Metrics\Storage $storage): Objective
43 {
44 return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new BlogDBUpdateSteps());
45 }
46}
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
Definition: class.Agent.php:42
getUpdateObjective(?Setup\Config $config=null)
Definition: class.Agent.php:32
getMigrations()
@inheritDoc
Definition: class.Agent.php:37
An agent that just doesn't do a thing.
Definition: NullAgent.php:35
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...