ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.DBUpdateAgent.php
Go to the documentation of this file.
1<?php
2
20
21use ILIAS\Setup;
24
29{
30 public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
31 {
32 return new \ilDatabaseUpdateStepsExecutedObjective(new ilMediaObjectsDBUpdateSteps());
33 }
34
35 public function getStatusObjective(Metrics\Storage $storage): Objective
36 {
37 return new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilMediaObjectsDBUpdateSteps());
38 }
39}
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
getUpdateObjective(?Setup\Config $config=null)
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...