ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilWorkflowEngineSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 use ILIAS\Setup;
28 
30 {
32 
33  public function getUpdateObjective(ILIAS\Setup\Config $config = null): Objective
34  {
36  }
37 
38  public function getStatusObjective(Metrics\Storage $storage): Objective
39  {
41  }
42 
43  public function hasConfig(): bool
44  {
45  return false;
46  }
47 
49  {
50  throw new \LogicException("Agent has no config.");
51  }
52 
53  public function getInstallObjective(Config $config = null): Objective
54  {
55  return new Setup\Objective\NullObjective();
56  }
57 
59  {
60  return new Setup\Objective\NullObjective();
61  }
62 
63  public function getMigrations(): array
64  {
65  return [];
66  }
67 }
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
Class ChatMainBarProvider .
getStatusObjective(Metrics\Storage $storage)
getBuildArtifactObjective()
Get the goal the agent wants to achieve to build artifacts.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getUpdateObjective(ILIAS\Setup\Config $config=null)
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...
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
hasConfig()
Does this agent require a configuration?
getInstallObjective(Config $config=null)
Get the goals the agent wants to achieve on setup.
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26
getMigrations()
Get a named map of migrations available for this Agent.