ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilNotificationUpdateAgent Class Reference
+ Inheritance diagram for ilNotificationUpdateAgent:
+ Collaboration diagram for ilNotificationUpdateAgent:

Public Member Functions

 hasConfig ()
 Does this agent require a configuration? More...
 
 getArrayToConfigTransformation ()
 Agents must be able to tell how to create a configuration from a nested array. More...
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildObjective ()
 Get the goal the agent wants to achieve to build artifacts. More...
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 Get a named map of migrations available for this Agent. More...
 
- Public Member Functions inherited from ILIAS\Setup\Agent
 getInstallObjective (Config $config=null)
 Get the goals the agent wants to achieve on setup. More...
 
 getUpdateObjective (Config $config=null)
 Get the goal the agent wants to achieve on update. More...
 
 getStatusObjective (Metrics\Storage $storage)
 Get the objective to be achieved when status is requested. More...
 
 getNamedObjectives (?Config $config=null)
 Gets all named objectives The keys of the returned array are the commands. More...
 

Detailed Description

Definition at line 25 of file ilNotificationUpdateAgent.php.

Member Function Documentation

◆ getArrayToConfigTransformation()

ilNotificationUpdateAgent::getArrayToConfigTransformation ( )

Agents must be able to tell how to create a configuration from a nested array.

Exceptions
LogicExceptionif Agent has no Config

Implements ILIAS\Setup\Agent.

Definition at line 34 of file ilNotificationUpdateAgent.php.

34  : Refinery\Transformation
35  {
36  throw new LogicException('Agent has no config.');
37  }

◆ getBuildObjective()

ilNotificationUpdateAgent::getBuildObjective ( )

Get the goal the agent wants to achieve to build artifacts.

Exceptions
InvalidArgumentExceptionif Config does not match the Agent.

Implements ILIAS\Setup\Agent.

Definition at line 59 of file ilNotificationUpdateAgent.php.

59  : Setup\Objective
60  {
61  return new Setup\Objective\NullObjective();
62  }

◆ getInstallObjective()

ilNotificationUpdateAgent::getInstallObjective ( Setup\Config  $config = null)

Definition at line 39 of file ilNotificationUpdateAgent.php.

39  : Setup\Objective
40  {
41  return new Setup\Objective\NullObjective();
42  }

◆ getMigrations()

ilNotificationUpdateAgent::getMigrations ( )

Get a named map of migrations available for this Agent.

Should also return Migrations that have run completely.

Returns
array<string,Migration>|Migration[]

Implements ILIAS\Setup\Agent.

Definition at line 69 of file ilNotificationUpdateAgent.php.

69  : array
70  {
71  return [];
72  }

◆ getStatusObjective()

ilNotificationUpdateAgent::getStatusObjective ( Setup\Metrics\Storage  $storage)

◆ getUpdateObjective()

ilNotificationUpdateAgent::getUpdateObjective ( Setup\Config  $config = null)

Definition at line 44 of file ilNotificationUpdateAgent.php.

44  : Setup\Objective
45  {
46  return new Setup\ObjectiveCollection(
47  'Notification Objectives',
48  true,
50  'nota',
51  'Notification Service Administration Object'
52  ),
55  )
56  );
57  }

◆ hasConfig()

ilNotificationUpdateAgent::hasConfig ( )

Does this agent require a configuration?

Implements ILIAS\Setup\Agent.

Definition at line 29 of file ilNotificationUpdateAgent.php.

29  : bool
30  {
31  return false;
32  }

The documentation for this class was generated from the following file: