ILIAS  release_8 Revision v8.23
ilNotificationUpdateAgent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 use ILIAS\Setup;
22 use ILIAS\Refinery;
24 
25 class ilNotificationUpdateAgent implements Setup\Agent
26 {
28 
29  public function hasConfig(): bool
30  {
31  return false;
32  }
33 
35  {
36  throw new LogicException('Agent has no config.');
37  }
38 
39  public function getInstallObjective(Setup\Config $config = null): Setup\Objective
40  {
41  return new Setup\Objective\NullObjective();
42  }
43 
44  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
45  {
46  return new Setup\ObjectiveCollection(
47  'Notification Objectives',
48  true,
50  'nota',
51  'Notification Service Administration Object'
52  ),
55  )
56  );
57  }
58 
59  public function getBuildArtifactObjective(): Setup\Objective
60  {
61  return new Setup\Objective\NullObjective();
62  }
63 
64  public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
65  {
66  return new Setup\Objective\NullObjective();
67  }
68 
69  public function getMigrations(): array
70  {
71  return [];
72  }
73 }
getStatusObjective(Setup\Metrics\Storage $storage)
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: ByTrying.php:21
getUpdateObjective(Setup\Config $config=null)
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getInstallObjective(Setup\Config $config=null)
A transformation is a function from one datatype to another.
A configuration for the setup.
Definition: Config.php:26