ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
Agent.php
Go to the documentation of this file.
1 <?php
2 
20 
26 
27 class 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 }
An agent that just doesn&#39;t do a thing.
Definition: NullAgent.php:34
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getUpdateObjective(?Config $config=null)
Definition: Agent.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Agent.php:19
getStatusObjective(Metrics\Storage $storage)
Definition: Agent.php:36
A configuration for the setup.
Definition: Config.php:26