ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Agent.php
Go to the documentation of this file.
1<?php
2
20
26
27class Agent extends NullAgent
28{
29 public function getUpdateObjective(?Config $config = null): Objective
30 {
31 return new \ilDatabaseUpdateStepsExecutedObjective(
32 new DBUpdateSteps11()
33 );
34 }
35
36 public function getStatusObjective(Metrics\Storage $storage): Objective
37 {
38 return new \ilDatabaseUpdateStepsMetricsCollectedObjective(
39 $storage,
40 new DBUpdateSteps11()
41 );
42 }
43
44 public function getBuildObjective(): Objective
45 {
46 return new ArtifactObjective();
47 }
48
49 public function getMigrations(): array
50 {
51 return [
53 ];
54 }
55}
getBuildObjective()
@inheritdocs
Definition: Agent.php:44
getUpdateObjective(?Config $config=null)
@inheritdocs
Definition: Agent.php:29
getMigrations()
@inheritDoc
Definition: Agent.php:49
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
Definition: Agent.php:36
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...
Definition: Agent.php:19