ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilResourceStorageSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
27 
33 {
35 
36  public function hasConfig(): bool
37  {
38  return false;
39  }
40 
42  {
43  throw new \LogicException("Agent has no config.");
44  }
45 
46  public function getInstallObjective(Config $config = null): Objective
47  {
48  return new ObjectiveCollection(
49  'IRSS Installation',
50  false,
54  )
55  );
56  }
57 
58  public function getUpdateObjective(Config $config = null): Objective
59  {
60  return new ObjectiveCollection(
61  'IRSS Update',
62  false,
66  ),
69  )
70  );
71  }
72 
73  public function getBuildObjective(): Objective
74  {
76  }
77 
78  public function getStatusObjective(Metrics\Storage $storage): Objective
79  {
80  return new ObjectiveCollection(
81  'Component ResourceStorage',
82  true,
85  );
86  }
87 
91  public function getMigrations(): array
92  {
93  return [];
94  }
95 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
Class ilResourceStorageDB90.
hasConfig()
Does this agent require a configuration?
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...
Class ilResourceStorageSetupAgent.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
A transformation is a function from one datatype to another.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
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...