ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilObjectSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Object\Setup;
20 
27 
29 {
30  public function getUpdateObjective(Config $config = null): Objective
31  {
32  return new ObjectiveCollection(
33  'Database is updated for Services/Object',
34  false,
37  ),
40  )
41  );
42  }
43 
44  public function getStatusObjective(Metrics\Storage $storage): Objective
45  {
46  return new ObjectiveCollection(
47  'Services/Object',
48  true,
50  $storage,
52  ),
54  $storage,
56  )
57  );
58  }
59 
60  public function getMigrations(): array
61  {
62  return [
64  ];
65  }
66 
68  {
70  }
71 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
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
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
getUpdateObjective(Config $config=null)
Get the goal the agent wants to achieve on update.
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...
getMigrations()
Get a named map of migrations available for this Agent.
A configuration for the setup.
Definition: Config.php:26
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...