ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilWOPISetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 
30 class ilWOPISetupAgent implements Agent
31 {
32  public function hasConfig(): bool
33  {
34  return false;
35  }
36 
38  {
39  throw new \BadMethodCallException('Not implemented');
40  }
41 
42  public function getInstallObjective(Config $config = null): Objective
43  {
44  return new \ilDatabaseUpdateStepsExecutedObjective(new ilWOPIDB90());
45  }
46 
47  public function getUpdateObjective(Config $config = null): Objective
48  {
49  return new \ilDatabaseUpdateStepsExecutedObjective(new ilWOPIDB90());
50  }
51 
53  {
54  return new Objective\NullObjective();
55  }
56 
57  public function getStatusObjective(Metrics\Storage $storage): Objective
58  {
60  }
61 
62  public function getMigrations(): array
63  {
64  return [];
65  }
66 
67  public function getNamedObjectives(?Config $config = null): array
68  {
69  return [];
70  }
71 
72 }
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
getStatusObjective(Metrics\Storage $storage)
A agent is some component that performs part of the setup process.
Definition: Agent.php:29
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...
getInstallObjective(Config $config=null)
Get the goals the agent wants to achieve on setup.
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...
A transformation is a function from one datatype to another.
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...
getNamedObjectives(?Config $config=null)
Gets all named objectives The keys of the returned array are the commands.